[New] Also add organisation in WindowsSingleSignOnHandler

This commit is contained in:
Robert von Burg 2023-05-05 10:24:20 +02:00
parent 2a8a678dc6
commit e5eb130f99
Signed by: eitch
GPG Key ID: 75DB9C85C74331F7
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ public class JsonConfigLdapPrivilegeHandler extends BaseLdapPrivilegeHandler {
Map<String, String> properties = new HashMap<>();
properties.put(REALM, this.realm);
properties.put(ORGANISATION, join(",", organisations));
if (!organisations.isEmpty())
properties.put(ORGANISATION, join(",", organisations));
properties.put(LOCATION, join(",", locations));
properties.put(PRIMARY_LOCATION, primaryLocation);
properties.put(SECONDARY_LOCATIONS, join(",", secondaryLocations));