mirror of
https://github.com/unraid/webgui.git
synced 2026-05-04 16:59:27 -05:00
If no regkey use 'Tools>Registration' as start page
This commit is contained in:
@@ -30,7 +30,8 @@ if (!empty($_POST['password']) && !empty($_POST['confirmPassword'])) {
|
||||
session_regenerate_id(true);
|
||||
session_write_close();
|
||||
|
||||
header("Location: /".$var['START_PAGE']);
|
||||
// Redirect the user to the start page
|
||||
header("Location: /".$start_page);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user