only ldap can login

This commit is contained in:
邱博亞 2022-11-13 21:59:08 +08:00
parent 70239a85c8
commit 746624f30f
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
module LdapLogin::Login
ONLY_LDAP = true
LDAP_ADSERVER="https://ap99.mdu.edu.tw/MduDB/api/Auth/token/1"
AppKey = "OCz3t1nQWD"
def ldap_login_auth(user,request,session,flash,params)