Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichael Göhler <somebody.here@gmx.de>2012-10-11 16:12:19 +0400
committerMichael Göhler <somebody.here@gmx.de>2012-10-15 00:36:25 +0400
commitd8fe6fbb400e80e51655b78883925efe6b3af937 (patch)
tree9014d5c10471ffcdc8d75ded2cc18d98f0d66101 /lib
parent382f8d060cad9da01ff7c24fc937b3f0d1b46990 (diff)
added a warning message to the log when a cookie is rejected
Diffstat (limited to 'lib')
-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();