Clarify comment
This commit is contained in:
parent
7f7999c7d8
commit
c03e7fcfa9
|
@ -886,7 +886,7 @@ class OC {
|
||||||
|
|
||||||
if(OC_User::userExists($_COOKIE['oc_username'])) {
|
if(OC_User::userExists($_COOKIE['oc_username'])) {
|
||||||
self::cleanupLoginTokens($_COOKIE['oc_username']);
|
self::cleanupLoginTokens($_COOKIE['oc_username']);
|
||||||
// confirm credentials in cookie
|
// verify whether the supplied "remember me" token was valid
|
||||||
$granted = OC_User::loginWithCookie(
|
$granted = OC_User::loginWithCookie(
|
||||||
$_COOKIE['oc_username'], $_COOKIE['oc_token']);
|
$_COOKIE['oc_username'], $_COOKIE['oc_token']);
|
||||||
if($granted === true) {
|
if($granted === true) {
|
||||||
|
|
Loading…
Reference in New Issue