From 7b1b5b9b40f54404c1e2d6108e92382120ff4843 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 9 Feb 2015 15:27:50 +0100 Subject: [PATCH] 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. --- library/Icinga/Authentication/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Authentication/Manager.php b/library/Icinga/Authentication/Manager.php index 81221176e..993475636 100644 --- a/library/Icinga/Authentication/Manager.php +++ b/library/Icinga/Authentication/Manager.php @@ -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);