diff options
author | Michael Göhler <somebody.here@gmx.de> | 2012-10-11 14:12:19 +0200 |
---|---|---|
committer | Michael Göhler <somebody.here@gmx.de> | 2012-10-14 22:36:25 +0200 |
commit | d8fe6fbb400e80e51655b78883925efe6b3af937 (patch) | |
tree | 9014d5c10471ffcdc8d75ded2cc18d98f0d66101 | |
parent | 382f8d060cad9da01ff7c24fc937b3f0d1b46990 (diff) | |
download | nextcloud-server-d8fe6fbb400e80e51655b78883925efe6b3af937.tar.gz nextcloud-server-d8fe6fbb400e80e51655b78883925efe6b3af937.zip |
added a warning message to the log when a cookie is rejected
-rw-r--r-- | lib/base.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php index 4007d241dee..b030b38b5ee 100644 --- a/lib/base.php +++ b/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(); |