fix error
This commit is contained in:
parent
5b4119bf13
commit
7f31d0c76f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue