Commit 81e3c76b authored by Till Brehm's avatar Till Brehm
Browse files

Merge branch '6380-mailuser-otp' into 'develop'

Fix mailuser login, closes #6380

Closes #6380

See merge request ispconfig/ispconfig3!1627
parents 528f91f5 4eb596df
Pipeline #12166 canceled with stage
......@@ -140,7 +140,7 @@ function process_login_request(app $app, &$error, $conf, $module)
} else {
//* Do 2FA authentication
if($user['otp_type'] != 'none') {
if(isset($user['otp_type']) && $user['otp_type'] != 'none') {
//* Save session in pending state and destroy original session
$_SESSION['s_pending'] = $_SESSION['s'];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment