fix error

This commit is contained in:
chiu 2021-02-22 12:19:47 +08:00
parent 5b4119bf13
commit 7f31d0c76f
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ module LdapLogin::Login
ldap_pass = params[:password] ldap_pass = params[:password]
login_flag = false login_flag = false
_session = {'ad' => []} _session = {'ad' => []}
url = '/'
url_method = 'redirect_to'
ldap_hosts.each do |ldap_host| ldap_hosts.each do |ldap_host|
begin begin
ldap = Net::LDAP.new ldap = Net::LDAP.new