fix error

This commit is contained in:
邱博亞 2021-02-21 12:35:45 +08:00
parent e4050061fa
commit 0a59878156
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
module LdapLogin::Login module LdapLogin::Login
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_ADSERVER=["ad.asia.edu.tw","ad2.asia.edu.tw","ad3.asia.edu.tw"]