From d8fe6fbb400e80e51655b78883925efe6b3af937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20G=C3=B6hler?= Date: Thu, 11 Oct 2012 14:12:19 +0200 Subject: [PATCH] added a warning message to the log when a cookie is rejected --- lib/base.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/base.php b/lib/base.php index 4007d241de..b030b38b5e 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();