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

remotes/origin/stable5
Michael Göhler 13 years ago
parent 382f8d060c
commit d8fe6fbb40
  1. 1
      lib/base.php

@ -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();

Loading…
Cancel
Save