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…
Reference in New Issue