Implementing Activate User

This commit is contained in:
Chris Mann 2023-07-21 09:56:24 +02:00
parent 9bdeb5bd29
commit a95d8e1213

View file

@ -47,7 +47,7 @@ func handleInviteNewAccount(w http.ResponseWriter, r *http.Request) {
} }
// l, _ := ldap.DialURL(config.LdapServerAddr) // l, _ := ldap.DialURL(config.LdapServerAddr)
// l.Bind(config.NewUserDN, config.NewUserPassword) // l.Bind(config.NewUserDN, config.NewUserPassword)
handleNewAccount(w, r, l, config.NewUserDN) handleNewAccount(w, r, login.conn, config.NewUserDN)
} }
// New account creation using code // New account creation using code