fix error
This commit is contained in:
parent
0a59878156
commit
1debdda69e
|
@ -2,7 +2,6 @@ module LdapLogin::Login
|
||||||
require 'net/ldap'
|
require 'net/ldap'
|
||||||
LDAP_ADSERVER=["ad.asia.edu.tw","ad2.asia.edu.tw","ad3.asia.edu.tw"]
|
LDAP_ADSERVER=["ad.asia.edu.tw","ad2.asia.edu.tw","ad3.asia.edu.tw"]
|
||||||
def ldap_login_auth(user,request,session,flash,params)
|
def ldap_login_auth(user,request,session,flash,params)
|
||||||
LDAP_ADSERVER=["ad.asia.edu.tw","ad2.asia.edu.tw","ad3.asia.edu.tw"]
|
|
||||||
ldap_hosts = LDAP_ADSERVER.shuffle
|
ldap_hosts = LDAP_ADSERVER.shuffle
|
||||||
error = ''
|
error = ''
|
||||||
ldap_user = params[:user_name]
|
ldap_user = params[:user_name]
|
||||||
|
|
Loading…
Reference in New Issue