[Web] multiple tfa - domainadmin support

This commit is contained in:
FreddleSpl0it
2022-02-22 09:38:06 +01:00
parent 5fcccbc97d
commit 21fadf6df2
2 changed files with 2 additions and 2 deletions

View File

@@ -876,7 +876,7 @@ function check_login($user, $pass, $app_passwd_data = false) {
if (isset($authenticators['additional']) && is_array($authenticators['additional']) && count($authenticators['additional']) > 0) {
$_SESSION['pending_mailcow_cc_username'] = $user;
$_SESSION['pending_mailcow_cc_role'] = "domainadmin";
$_SESSION['pending_tfa_method'] = $authenticators['additional'];
$_SESSION['pending_tfa_methods'] = $authenticators['additional'];
unset($_SESSION['ldelay']);
$_SESSION['return'][] = array(
'type' => 'info',