diff --git a/client_logins.php b/client_logins.php index 83acddc07..6f2636508 100644 --- a/client_logins.php +++ b/client_logins.php @@ -44,7 +44,7 @@

Credentials

- diff --git a/login.php b/login.php index 7bdda3670..edfeef333 100644 --- a/login.php +++ b/login.php @@ -145,7 +145,7 @@ } // Validate MFA code - if (TokenAuth6238::verify($token, $current_code)) { + if (!empty($current_code) && TokenAuth6238::verify($token, $current_code)) { $mfa_is_complete = true; $extended_log = 'with 2FA'; }