forgot a class name

This commit is contained in:
Michael Göhler 2012-10-11 12:30:43 +02:00
parent 2ea06f67bd
commit eb79ccafe3
1 changed files with 2 additions and 2 deletions

View File

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