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:
Thomas Gelf 2015-02-09 15:27:50 +01:00
parent d10beb7604
commit 7b1b5b9b40
1 changed files with 1 additions and 1 deletions

View File

@ -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);