From a6c4046f48752b957d591a9c9574caf6f18e6d40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Michael=20G=C3=B6hler?= <somebody.here@gmx.de>
Date: Fri, 12 Oct 2012 11:12:31 +0200
Subject: [PATCH] fixed typo and redundant method call

---
 lib/base.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/base.php b/lib/base.php
index b030b38b5e..bf2c2199ff 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -555,9 +555,8 @@ class OC{
 			// if you reach this point you have changed your password 
 			// or you are an attacker
 			// we can not delete tokens here because users may reach 
-			// this point multible times after a password change
+			// this point multiple 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();
 		return true;
-- 
GitLab