From: Andreas Gohr Date: Tue, 20 Oct 2009 08:56:38 +0000 (+0200) Subject: fixed logout X-Git-Tag: 0.7.1~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=55f66aa9c509b25f17a995782c9ecf3d20e7fdd9;p=contagged fixed logout --- 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