3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 15:15:43 +00:00

Added TLS option in settings for LDAP

This commit is contained in:
snipe
2016-07-22 16:00:37 -07:00
parent 7f5ea72dc7
commit b03330aae0
5 changed files with 54 additions and 0 deletions

View File

@ -416,6 +416,7 @@ class SettingsController extends Controller
$setting->ldap_email = e(Input::get('ldap_email'));
$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'));
// If validation fails, we'll exit the operation now.
if ($setting->save()) {