added a warning message to the log when a cookie is rejected
This commit is contained in:
parent
382f8d060c
commit
d8fe6fbb40
|
@ -556,6 +556,7 @@ class OC{
|
||||||
// or you are an attacker
|
// or you are an attacker
|
||||||
// we can not delete tokens here because users may reach
|
// we can not delete tokens here because users may reach
|
||||||
// this point multible times after a password change
|
// 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();
|
||||||
}
|
}
|
||||||
OC_User::unsetMagicInCookie();
|
OC_User::unsetMagicInCookie();
|
||||||
|
|
Loading…
Reference in New Issue