Fixed Change Password Bug

This commit is contained in:
Chris Mann 2023-07-25 14:40:46 +02:00
parent 9be7ac59ee
commit f4c9090e1b

View file

@ -30,6 +30,9 @@ func checkLogin(w http.ResponseWriter, r *http.Request) *LoginStatus {
if l == nil { if l == nil {
return nil return nil
} }
if login_info == nil {
return nil
}
if err != nil { if err != nil {
log.Printf("checkLogin ldapOpen : %v", err) log.Printf("checkLogin ldapOpen : %v", err)
log.Printf("checkLogin ldapOpen : %v", session) log.Printf("checkLogin ldapOpen : %v", session)