Skip to content

Commit 81e3c76

Browse files
author
Till Brehm
committed
Merge branch '6380-mailuser-otp' into 'develop'
Fix mailuser login, closes #6380 Closes #6380 See merge request ispconfig/ispconfig3!1627
2 parents 528f91f + 4eb596d commit 81e3c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function process_login_request(app $app, &$error, $conf, $module)
140140
} else {
141141

142142
//* Do 2FA authentication
143-
if($user['otp_type'] != 'none') {
143+
if(isset($user['otp_type']) && $user['otp_type'] != 'none') {
144144

145145
//* Save session in pending state and destroy original session
146146
$_SESSION['s_pending'] = $_SESSION['s'];

0 commit comments

Comments
 (0)