Clarify comment

This commit is contained in:
Lukas Reschke 2014-05-24 10:24:42 +02:00
parent 7f7999c7d8
commit c03e7fcfa9
1 changed files with 1 additions and 1 deletions

View File

@ -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) {