mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
DbUserGroupBackend: Match memberships case-insensitive on pgsql
This commit is contained in:
parent
13c9a73842
commit
92dad17a2b
@ -204,7 +204,7 @@ class DbUserGroupBackend extends DbRepository implements Inspectable, UserGroupB
|
||||
$membershipQuery = $this
|
||||
->select()
|
||||
->from('group_membership', array('group_name'))
|
||||
->where('user_name', $user->getUsername());
|
||||
->where('user', $user->getUsername());
|
||||
|
||||
$memberships = array();
|
||||
foreach ($membershipQuery as $membership) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user