If no regkey use 'Tools>Registration' as start page

This commit is contained in:
Tom Mortensen
2024-02-01 14:41:18 -08:00
parent 4e71349cf2
commit b8844dcedb
3 changed files with 8 additions and 4 deletions
@@ -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;
}