Remove english as default
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ba55dfb841
commit
89616727a1
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class ProfileController extends Controller
|
||||||
$user->enable_confetti = $request->input('enable_confetti', false);
|
$user->enable_confetti = $request->input('enable_confetti', false);
|
||||||
|
|
||||||
if (! config('app.lock_passwords')) {
|
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')))) {
|
if ((Gate::allows('self.two_factor')) && ((Setting::getSettings()->two_factor_enabled == '1') && (! config('app.lock_passwords')))) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue