Allow admin to turn LDAP password sync off.

This is added to handle customers/users with a security policy that prohibits third-parties or external databases from storing LDAP passwords.
This commit is contained in:
snipe
2016-08-04 14:29:28 -07:00
parent 29eadb10ae
commit 1d3255a00b
6 changed files with 73 additions and 4 deletions
@@ -417,6 +417,7 @@ class SettingsController extends Controller
$setting->ad_domain = e(Input::get('ad_domain'));
$setting->is_ad = e(Input::get('is_ad', '0'));
$setting->ldap_tls = e(Input::get('ldap_tls', '0'));
$setting->ldap_pw_sync = e(Input::get('ldap_pw_sync', '0'));
// If validation fails, we'll exit the operation now.
if ($setting->save()) {