Skip to content
Unverified Commit a6f0278e authored by Jonas Meurer's avatar Jonas Meurer
Browse files

Default to language from request in L10N\Factory->getUserLanguage()

Try to get the language from request before falling back to the instance
default.

This fixes the detected user language during first login of a new user
and ensures that the returned language is consistent during the login.

Also partially fixes a bug with Collectives folder being initialized
in different languages at first login, see
https://gitlab.com/collectivecloud/collectives/-/issues/238



Signed-off-by: default avatarJonas Meurer <jonas@freesources.org>
parent 6572f801
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment