Skip to content
Snippets Groups Projects
Commit 38b9bffa authored by Michael Göhler's avatar Michael Göhler
Browse files

call unsetMagicInCookie if token is invalid

parent eb79ccaf
No related branches found
No related tags found
No related merge requests found
......@@ -554,9 +554,9 @@ class OC{
}
// if you reach this point you have changed your password
// or you are an attacker
// we can not delete tokens here because users will reach
// we can not delete tokens here because users may reach
// this point multible times after a password change
//OC_Preferences::deleteApp($_POST['user'], 'login_token');
OC_User::unsetMagicInCookie();
}
OC_User::unsetMagicInCookie();
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment