1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-23 02:04:46 +02:00

Fixed SQL query for retrieving SSO users.

This commit is contained in:
Geert Hauwaerts 2023-11-02 17:42:08 +02:00 committed by DerLinkman
parent 2f1e1438e9
commit 1cda16523d
No known key found for this signature in database
GPG Key ID: F109FD97469550A2

View File

@ -2355,7 +2355,7 @@ function identity_provider($_action, $_data = null, $_extra = null) {
AND `mailbox`.`active`='1'
AND `domain`.`active`='1'
AND `username` = :user
AND `authsource`='keycloak' OR `authsource`='generic-oidc'");
AND (`authsource`='keycloak' OR `authsource`='generic-oidc')");
$stmt->execute(array(':user' => $info['email']));
$row = $stmt->fetch(PDO::FETCH_ASSOC);
if ($row){