fix error

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

View File

@ -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?