Skip to content
Snippets Groups Projects
Commit c1250ee2 authored by Jens's avatar Jens
Browse files

Fix ispconfig/ispconfig3#6380: Mailusers cannot login.

parent 14769ef4
No related branches found
No related tags found
No related merge requests found
......@@ -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']) and $user['otp_type'] != 'none') {
//* Save session in pending state and destroy original session
$_SESSION['s_pending'] = $_SESSION['s'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment