Browse Source

Update index.php

Jaap Marcus 5 years ago
parent
commit
7f20398d8c
1 changed files with 7 additions and 0 deletions
  1. 7 0
      web/login/index.php

+ 7 - 0
web/login/index.php

@@ -145,6 +145,13 @@ function authenticate_user(){
                 }
                 }
             }
             }
         }
         }
+    }else{
+        unset($_POST);
+        unset($_GET);
+        unset($_SESSION);
+        session_destroy();
+        session_start();
+        return false;
     }
     }
 }
 }