mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 09:46:49 +00:00
Merge pull request #2315 from dx7/use-global-locale-for-session
Set session locale fallback using global locale config
This commit is contained in:
commit
58be61099e
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