diff --git a/lib/ldap_login/login.rb b/lib/ldap_login/login.rb index e6311b5..5997245 100644 --- a/lib/ldap_login/login.rb +++ b/lib/ldap_login/login.rb @@ -8,6 +8,8 @@ module LdapLogin::Login ldap_pass = params[:password] login_flag = false _session = {'ad' => []} + url = '/' + url_method = 'redirect_to' ldap_hosts.each do |ldap_host| begin ldap = Net::LDAP.new