mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-19 17:48:12 +00:00
Use string 'true' for the 'exact' query parameter to retrieve users from Keycloak
This commit is contained in:
parent
175878f8f1
commit
7b395acb84
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ function keycloak_mbox_login_rest($user, $pass, $extra = null){
|
|||
|
||||
// get the mailcow_password attribute from keycloak user
|
||||
$url = "{$iam_settings['server_url']}/admin/realms/{$iam_settings['realm']}/users";
|
||||
$queryParams = array('email' => $user, 'exact' => true);
|
||||
$queryParams = array('email' => $user, 'exact' => 'true');
|
||||
$queryString = http_build_query($queryParams);
|
||||
$curl = curl_init();
|
||||
curl_setopt($curl, CURLOPT_TIMEOUT, 7);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue