mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
set default
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a99ec062e6
commit
7d220dd8c2
|
@ -49,7 +49,7 @@ class ProfileController extends Controller
|
|||
$user->gravatar = $request->input('gravatar');
|
||||
$user->skin = $request->input('skin');
|
||||
$user->phone = $request->input('phone');
|
||||
$user->enable_sounds = $request->input('enable_sounds');
|
||||
$user->enable_sounds = $request->input('enable_sounds', false);
|
||||
|
||||
if (! config('app.lock_passwords')) {
|
||||
$user->locale = $request->input('locale', 'en-US');
|
||||
|
|
Loading…
Reference in a new issue