Comment encryption option in admin ldap users controller
Refactor to use the service later
This commit is contained in:
parent
ba7b10fbc8
commit
b04d822586
@ -27,7 +27,7 @@ class Admin::LdapUsersController < Admin::BaseController
|
|||||||
def ldap_client
|
def ldap_client
|
||||||
ldap_client ||= Net::LDAP.new host: ldap_config['host'],
|
ldap_client ||= Net::LDAP.new host: ldap_config['host'],
|
||||||
port: ldap_config['port'],
|
port: ldap_config['port'],
|
||||||
encryption: ldap_config['ssl'],
|
# encryption: ldap_config['ssl'],
|
||||||
auth: {
|
auth: {
|
||||||
method: :simple,
|
method: :simple,
|
||||||
username: ldap_config['admin_user'],
|
username: ldap_config['admin_user'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user