Implementing Activate User

This commit is contained in:
Chris Mann 2023-07-21 13:52:05 +02:00
parent 516365c6a2
commit 104f1be63f

View file

@ -213,7 +213,7 @@ func handleLogin(w http.ResponseWriter, r *http.Request) *LoginInfo {
if strings.EqualFold(username, config.AdminAccount) { if strings.EqualFold(username, config.AdminAccount) {
user_dn = username user_dn = username
} }
err, loginInfo := doLogin(w, r, username, user_dn, password) loginInfo, err := doLogin(w, r, username, user_dn, password)
if err != nil { if err != nil {
data := &LoginFormData{ data := &LoginFormData{
Username: username, Username: username,