Added setting new setting to Settings save method

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-02-14 20:54:13 -08:00
parent d2ab358c6a
commit 1d47e87d54

View file

@ -340,6 +340,7 @@ class SettingsController extends Controller
$setting->email_format = $request->input('email_format');
$setting->username_format = $request->input('username_format');
$setting->require_accept_signature = $request->input('require_accept_signature');
$setting->display_username = $request->input('display_username', 0);
$setting->show_assigned_assets = $request->input('show_assigned_assets', '0');
if (! config('app.lock_passwords')) {
$setting->login_note = $request->input('login_note');