[Web] Use SQL password only when authsource is mailcow
This commit is contained in:
parent
bc21e7fe50
commit
82eb3c64cd
@ -277,7 +277,7 @@ function user_login($user, $pass, $extra = null){
|
||||
}
|
||||
return $result;
|
||||
break;
|
||||
default:
|
||||
case 'mailcow':
|
||||
// verify password
|
||||
if (verify_hash($row['password'], $pass) !== false) {
|
||||
// check for tfa authenticators
|
||||
|
||||
Loading…
Reference in New Issue
Block a user