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:
Eric Lippmann 2016-01-18 12:56:02 +01:00
parent 92d8ad42e6
commit 9968fb9011

View File

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