Fix Redirect to non-existent page after login when force MFA is enabled

This commit is contained in:
johnnyq 2024-01-24 15:46:30 -05:00
parent 861c8e4252
commit 9ce280d80d
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ if (isset($_POST['login'])) {
$force_mfa = intval($row['user_config_force_mfa']);
$remember_token = $row['user_config_remember_me_token'];
if($force_mfa == 1 && $token == NULL) {
$config_start_page = "user_profile.php";
$config_start_page = "user_security.php";
}
$bypass_2fa = false;