summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index d2d0700c577..2e55827a62a 100644
--- a/index.php
+++ b/index.php
@@ -68,6 +68,9 @@ else {
OC_User::setUserId($_COOKIE['oc_username']);
OC_Util::redirectToDefaultPage();
}
+ else {
+ OC_User::unsetMagicInCookie();
+ }
}
// Someone wants to log in :