fix error
This commit is contained in:
parent
0ba50867e1
commit
5b4119bf13
|
@ -13,7 +13,7 @@ module LdapLogin::Login
|
|||
ldap = Net::LDAP.new
|
||||
ldap.host = ldap_host
|
||||
ldap.port = 389
|
||||
ldap.auth #{ldap_user}@asia.edu.tw, ldap_pass
|
||||
ldap.auth "#{ldap_user}@asia.edu.tw", ldap_pass
|
||||
if ldap.bind
|
||||
puts ['ldap_user',ldap_user,'ldap_pass',ldap_pass]
|
||||
if !user.nil?
|
||||
|
|
Loading…
Reference in New Issue