diff --git a/lam/templates/login.php b/lam/templates/login.php index a10a90ba..3840ae7c 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -283,9 +283,9 @@ if($_POST['action'] == "checklogin") } // Reload loginpage after a profile change elseif($_POST['action'] == "profileChange") { - $config = new Config($_POST['profile']); // Recreate the config object with the submited profile + $_SESSION['config'] = new Config($_POST['profile']); // Recreate the config object with the submited - display_LoginPage($config,""); // Load login page + display_LoginPage($_SESSION['config'],""); // Load login page } // Load login page else