From 89616727a1363631c298e53c676aa98fc639cdbc Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 15 Apr 2025 15:45:11 +0100 Subject: [PATCH] Remove english as default Signed-off-by: snipe --- app/Http/Controllers/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ProfileController.php b/app/Http/Controllers/ProfileController.php index 1a9bd00356..e8d593662c 100755 --- a/app/Http/Controllers/ProfileController.php +++ b/app/Http/Controllers/ProfileController.php @@ -53,7 +53,7 @@ class ProfileController extends Controller $user->enable_confetti = $request->input('enable_confetti', false); if (! config('app.lock_passwords')) { - $user->locale = $request->input('locale', 'en-US'); + $user->locale = $request->input('locale'); } if ((Gate::allows('self.two_factor')) && ((Setting::getSettings()->two_factor_enabled == '1') && (! config('app.lock_passwords')))) {