From 8f5f289decdaf845d5314903d579559aebd24e2f Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Thu, 20 Jul 2023 13:52:16 +0200 Subject: [PATCH] Trying a utility file --- invite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invite.go b/invite.go index 0afa702..947b13a 100644 --- a/invite.go +++ b/invite.go @@ -62,7 +62,7 @@ func handleInvitationCode(w http.ResponseWriter, r *http.Request) { // } inviteDn := config.InvitationNameAttr + "=" + code_id + "," + config.InvitationBaseDN - err := l.Bind(inviteDn, code_pw) + err := login.conn.Bind(inviteDn, code_pw) if err != nil { templateInviteInvalidCode := getTemplate("invite_invalid_code.html") templateInviteInvalidCode.Execute(w, nil)