[Web] Mailbox TFA fix

This commit is contained in:
FreddleSpl0it committed 2022-08-25 14:26:45 +02:00
1 parent c8620a066d
commit 555f4a8a6d
2 files changed
+27 -23

No files matched your search

+1 -1
View File
@@ -131,7 +131,7 @@ class mailcowPdo extends OAuth2\Storage\Pdo {
$this->config['user_table'] = 'mailbox';
}
public function checkUserCredentials($username, $password) {
if (check_login($username, $password, false, true) == 'user') {
if (check_login($username, $password) == 'user') {
return true;
}
return false;