From de992e4df3c5780349ea6fa85525eebcc8f852ca Mon Sep 17 00:00:00 2001 From: snipe Date: Fri, 14 Jun 2019 17:20:37 -0700 Subject: [PATCH] Fixed LDAP password blanking on save --- app/Http/Controllers/SettingsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/SettingsController.php b/app/Http/Controllers/SettingsController.php index b4abcbcb76..6680fc061b 100755 --- a/app/Http/Controllers/SettingsController.php +++ b/app/Http/Controllers/SettingsController.php @@ -865,7 +865,7 @@ class SettingsController extends Controller $setting->ldap_server = $request->input('ldap_server'); $setting->ldap_server_cert_ignore = $request->input('ldap_server_cert_ignore', false); $setting->ldap_uname = $request->input('ldap_uname'); - if (Input::has('ldap_pword')) { + if (Input::fille('ldap_pword')) { $setting->ldap_pword = Crypt::encrypt($request->input('ldap_pword')); } $setting->ldap_basedn = $request->input('ldap_basedn');