Browse Source

Fix weird cookie destruction

I have no idea why that was there
spaghetti 8 years ago
parent
commit
78e089de72
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      classes/script_start.php

+ 1
- 1
classes/script_start.php View File

@@ -305,8 +305,8 @@ $Debug->set_flag('start function definitions');
305 305
 function logout() {
306 306
   global $SessionID;
307 307
   setcookie('session', '', time() - 60 * 60 * 24 * 365, '/', '', false);
308
+  setcookie('userid', '', time() - 60 * 60 * 24 * 365, '/', '', false);
308 309
   setcookie('keeplogged', '', time() - 60 * 60 * 24 * 365, '/', '', false);
309
-  setcookie('session', '', time() - 60 * 60 * 24 * 365, '/', '', false);
310 310
   if ($SessionID) {
311 311
 
312 312
     G::$DB->query("

Loading…
Cancel
Save