From b04d822586b32cc134a74af17b357f7d324bf09e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 7 Dec 2022 18:13:58 +0100 Subject: [PATCH] Comment encryption option in admin ldap users controller Refactor to use the service later --- app/controllers/admin/ldap_users_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/ldap_users_controller.rb b/app/controllers/admin/ldap_users_controller.rb index 80f9392..2e2c3dd 100644 --- a/app/controllers/admin/ldap_users_controller.rb +++ b/app/controllers/admin/ldap_users_controller.rb @@ -27,7 +27,7 @@ class Admin::LdapUsersController < Admin::BaseController def ldap_client ldap_client ||= Net::LDAP.new host: ldap_config['host'], port: ldap_config['port'], - encryption: ldap_config['ssl'], + # encryption: ldap_config['ssl'], auth: { method: :simple, username: ldap_config['admin_user'],