From 82eb3c64cd6c1eea94f450b22bf0de3e29f7eaa1 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it Date: Fri, 7 Mar 2025 13:15:27 +0100 Subject: [PATCH] [Web] Use SQL password only when authsource is mailcow --- data/web/inc/functions.auth.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/functions.auth.inc.php b/data/web/inc/functions.auth.inc.php index 62329e305..8e695c359 100644 --- a/data/web/inc/functions.auth.inc.php +++ b/data/web/inc/functions.auth.inc.php @@ -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