mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 17:44:17 -08:00
Added setting new setting to Settings save method
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
d2ab358c6a
commit
1d47e87d54
|
@ -340,6 +340,7 @@ class SettingsController extends Controller
|
||||||
$setting->email_format = $request->input('email_format');
|
$setting->email_format = $request->input('email_format');
|
||||||
$setting->username_format = $request->input('username_format');
|
$setting->username_format = $request->input('username_format');
|
||||||
$setting->require_accept_signature = $request->input('require_accept_signature');
|
$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');
|
$setting->show_assigned_assets = $request->input('show_assigned_assets', '0');
|
||||||
if (! config('app.lock_passwords')) {
|
if (! config('app.lock_passwords')) {
|
||||||
$setting->login_note = $request->input('login_note');
|
$setting->login_note = $request->input('login_note');
|
||||||
|
|
Loading…
Reference in a new issue