Merge branch 'develop' into snipeit_v7_laravel10

This commit is contained in:
Brady Wetherington
2024-01-08 18:57:55 +00:00
5316 changed files with 117843 additions and 109663 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')))) {