mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02: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
@ -135,6 +135,8 @@ class Auth
|
|||||||
} else {
|
} else {
|
||||||
$preferences = new Preferences();
|
$preferences = new Preferences();
|
||||||
}
|
}
|
||||||
|
// TODO(el): Quick-fix for #10957. Only reload CSS if the theme changed.
|
||||||
|
$this->getResponse()->setReloadCss(true);
|
||||||
$user->setPreferences($preferences);
|
$user->setPreferences($preferences);
|
||||||
$groups = $user->getGroups();
|
$groups = $user->getGroups();
|
||||||
foreach (Config::app('groups') as $name => $config) {
|
foreach (Config::app('groups') as $name => $config) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user