Problem with changing profile fixed
This commit is contained in:
parent
78eb6b0d4b
commit
aa2c25295a
|
@ -283,9 +283,9 @@ if($_POST['action'] == "checklogin")
|
||||||
}
|
}
|
||||||
// Reload loginpage after a profile change
|
// Reload loginpage after a profile change
|
||||||
elseif($_POST['action'] == "profileChange") {
|
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
|
// Load login page
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue