Fixed Change Password Bug
This commit is contained in:
parent
f65319fd93
commit
9be7ac59ee
1 changed files with 7 additions and 0 deletions
|
@ -4,6 +4,7 @@ Handles session login and lougout with HTTP stuff
|
|||
package main
|
||||
|
||||
import (
|
||||
"log"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
|
@ -29,6 +30,12 @@ func checkLogin(w http.ResponseWriter, r *http.Request) *LoginStatus {
|
|||
if l == nil {
|
||||
return nil
|
||||
}
|
||||
if err != nil {
|
||||
log.Printf("checkLogin ldapOpen : %v", err)
|
||||
log.Printf("checkLogin ldapOpen : %v", session)
|
||||
log.Printf("checkLogin ldapOpen : %v", session.Values)
|
||||
return nil
|
||||
}
|
||||
|
||||
err = bind(User{
|
||||
DN: login_info.DN,
|
||||
|
|
Loading…
Reference in a new issue