Fixed Change Password Bug
This commit is contained in:
parent
9be7ac59ee
commit
f4c9090e1b
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue