Factoring the model user and correcting password

This commit is contained in:
Chris Mann 2023-07-22 08:48:58 +02:00
parent fd85d1d1ef
commit c915eaa0c0

View file

@ -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 {