diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index b02db4d05f5..9cd2ee55b03 100644 --- a/lib/base.php +++ b/lib/base.php @@ -537,8 +537,8 @@ class OC{ // confirm credentials in cookie if(isset($_COOKIE['oc_token']) && OC_User::userExists($_COOKIE['oc_username'])) { // delete outdated cookies - cleanupLoginTokens($_COOKIE['oc_username']); - // get new tokens + self::cleanupLoginTokens($_COOKIE['oc_username']); + // get stored tokens $tokens = OC_Preferences::getKeys($_COOKIE['oc_username'], 'login_token'); // test cookies token against stored tokens if (in_array($_COOKIE['oc_token'], $tokens, true)) { |