3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-06 09:55:40 +00:00

Update en defaults for controllers

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2023-12-24 19:44:20 +00:00
parent 02d35449d2
commit 38bd530fae
2 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ class ProfileController extends Controller
$user->phone = $request->input('phone');
if (! config('app.lock_passwords')) {
$user->locale = $request->input('locale', 'en');
$user->locale = $request->input('locale', 'en-US');
}
if ((Gate::allows('self.two_factor')) && ((Setting::getSettings()->two_factor_enabled == '1') && (! config('app.lock_passwords')))) {