From a8faa1470f11b36793d89ca3a2cb3ec4e8ccd72b Mon Sep 17 00:00:00 2001 From: duergner Date: Wed, 22 Oct 2003 17:42:12 +0000 Subject: [PATCH] *** empty log message *** --- lam/templates/login.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lam/templates/login.php b/lam/templates/login.php index ab63b546..29430b8c 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -288,6 +288,7 @@ if($_POST['action'] == "checklogin") if($result == True) // Username/password correct. Do some configuration and load main frame. { + $_SESSION['loggedIn'] = true; $_SESSION['language'] = $_POST['language']; // Write selected language in session $current_language = explode(":",$_SESSION['language']); $_SESSION['header'] = "\n\n\n"; @@ -318,6 +319,7 @@ elseif($_POST['action'] == "profileChange") { // Load login page else { + $_SESSION['loggedIn'] = false; $default_Config = new CfgMain(); $default_Profile = $default_Config->default; $_SESSION["config"] = new Config($default_Profile); // Create new Config object