summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMichael Göhler <somebody.here@gmx.de>2012-10-11 14:12:19 +0200
committerMichael Göhler <somebody.here@gmx.de>2012-10-14 22:36:25 +0200
commitd8fe6fbb400e80e51655b78883925efe6b3af937 (patch)
tree9014d5c10471ffcdc8d75ded2cc18d98f0d66101 /lib/base.php
parent382f8d060cad9da01ff7c24fc937b3f0d1b46990 (diff)
downloadnextcloud-server-d8fe6fbb400e80e51655b78883925efe6b3af937.tar.gz
nextcloud-server-d8fe6fbb400e80e51655b78883925efe6b3af937.zip
added a warning message to the log when a cookie is rejected
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php1
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();