From a95d8e1213a618de11c84e4f7b19e2a9a1cd2247 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Fri, 21 Jul 2023 09:56:24 +0200 Subject: [PATCH] Implementing Activate User --- invite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invite.go b/invite.go index 7fb67f5..18745b2 100644 --- a/invite.go +++ b/invite.go @@ -47,7 +47,7 @@ func handleInviteNewAccount(w http.ResponseWriter, r *http.Request) { } // l, _ := ldap.DialURL(config.LdapServerAddr) // l.Bind(config.NewUserDN, config.NewUserPassword) - handleNewAccount(w, r, l, config.NewUserDN) + handleNewAccount(w, r, login.conn, config.NewUserDN) } // New account creation using code