mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
Reload CSS after login because the user may have a different theme (WIP)
This is just a quick fix. refs #10957
This commit is contained in:
parent
92d8ad42e6
commit
9968fb9011
1 changed files with 2 additions and 0 deletions
|
|
@ -135,6 +135,8 @@ class Auth
|
|||
} else {
|
||||
$preferences = new Preferences();
|
||||
}
|
||||
// TODO(el): Quick-fix for #10957. Only reload CSS if the theme changed.
|
||||
$this->getResponse()->setReloadCss(true);
|
||||
$user->setPreferences($preferences);
|
||||
$groups = $user->getGroups();
|
||||
foreach (Config::app('groups') as $name => $config) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue