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:
parent
2f1e1438e9
commit
1cda16523d
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user