mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 21:43:17 +00:00
set session locale fallback using global config
This commit is contained in:
parent
4762efe8ee
commit
f81c642087
1 changed files with 1 additions and 1 deletions
|
@ -136,6 +136,6 @@ class AuthLogin
|
|||
|
||||
protected function userLanguage($user)
|
||||
{
|
||||
session()->put('locale', $user->language ?? 'en');
|
||||
session()->put('locale', $user->language ?? config('app.locale'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue