Factoring the model user and correcting password
This commit is contained in:
parent
fd85d1d1ef
commit
c915eaa0c0
1 changed files with 1 additions and 0 deletions
1
login.go
1
login.go
|
@ -90,6 +90,7 @@ func checkLogin(w http.ResponseWriter, r *http.Request) *LoginStatus {
|
|||
|
||||
ldapUser, err := get(User{
|
||||
DN: login_info.DN,
|
||||
CN: login_info.Username,
|
||||
}, config, l)
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue