Add production config and credentials
This commit is contained in:
@@ -25,7 +25,7 @@ class Admin::LdapUsersController < Admin::BaseController
|
||||
private
|
||||
|
||||
def ldap_client
|
||||
ldap_client ||= Net::LDAP.new host: ENV['LDAP_HOST'],
|
||||
ldap_client ||= Net::LDAP.new host: ldap_config['host'],
|
||||
port: ldap_config['port'],
|
||||
encryption: ldap_config['ssl'],
|
||||
auth: {
|
||||
|
||||
Reference in New Issue
Block a user