Comment encryption option in admin ldap users controller

Refactor to use the service later
This commit is contained in:
Râu Cao 2022-12-07 18:13:58 +01:00
parent ba7b10fbc8
commit b04d822586
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -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'],