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:
@ -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')))) {
|
||||
|
||||
Reference in New Issue
Block a user