set default

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-08-07 20:58:04 +01:00
parent a99ec062e6
commit 7d220dd8c2

View file

@ -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');