From 55f66aa9c509b25f17a995782c9ecf3d20e7fdd9 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 20 Oct 2009 10:56:38 +0200 Subject: [PATCH] fixed logout --- login.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/login.php b/login.php index 5ea09ea..2aa4d16 100644 --- a/login.php +++ b/login.php @@ -30,6 +30,9 @@ if(!empty($_REQUEST['username'])){ }else{ $msg = $lang['msg_loginfail'];; } +}else{ + //logout + unset($_SESSION['ldapab']); } //prepare templates -- 2.39.5