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

added a warning message to the log when a cookie is rejected

parent 382f8d06
No related branches found
No related tags found
No related merge requests found
......@@ -556,6 +556,7 @@ class OC{
// or you are an attacker
// we can not delete tokens here because users may reach
// this point multible times after a password change
OC_Log::write('core', 'Authentication cookie rejected for user '.$_COOKIE['oc_username'], OC_Log::WARN);
OC_User::unsetMagicInCookie();
}
OC_User::unsetMagicInCookie();
......
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