Skip to content

Fix loading of Meta data

dloser requested to merge dloser/website:fix-dark-mode-persistence into master

I noticed that dark mode was always reset when I had to log in again.

Problem was that because of the incorrect check, before login/authentication the session will already be populated with the default value. Once this value is set in the session, it "overrides" the user value from the database after logging in.

As far as I can tell, the user object is always set. I'm not sure what the purpose of the "$basic" parameter in \dtw\DtW::getInstance() is, but it never seems to be true.

Merge request reports