mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Authentication\Manager: do not override user groups
Needs more care, but this way we are at least able to fetch groups unless we get out improved implementation.
This commit is contained in:
parent
d10beb7604
commit
7b1b5b9b40
@ -84,7 +84,7 @@ class Manager
|
||||
$preferences = new Preferences();
|
||||
}
|
||||
$user->setPreferences($preferences);
|
||||
$groups = array();
|
||||
$groups = $user->getGroups();
|
||||
foreach (Config::app('groups') as $name => $config) {
|
||||
try {
|
||||
$groupBackend = UserGroupBackend::create($name, $config);
|
||||
|
Loading…
x
Reference in New Issue
Block a user