mirror of https://github.com/itflow-org/itflow
Fix Redirect to non-existent page after login when force MFA is enabled
This commit is contained in:
parent
861c8e4252
commit
9ce280d80d
|
|
@ -113,7 +113,7 @@ if (isset($_POST['login'])) {
|
||||||
$force_mfa = intval($row['user_config_force_mfa']);
|
$force_mfa = intval($row['user_config_force_mfa']);
|
||||||
$remember_token = $row['user_config_remember_me_token'];
|
$remember_token = $row['user_config_remember_me_token'];
|
||||||
if($force_mfa == 1 && $token == NULL) {
|
if($force_mfa == 1 && $token == NULL) {
|
||||||
$config_start_page = "user_profile.php";
|
$config_start_page = "user_security.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
$bypass_2fa = false;
|
$bypass_2fa = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue