aboutsummaryrefslogtreecommitdiff
path: root/invite.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-09-26 08:40:30 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-09-26 08:40:30 +0200
commitd8633d7fb89b55996f25e1a67180408c805ba15f (patch)
tree50c7b637e1f89c6ffcf8fcc7bf99429e91c944ef /invite.go
parent982bd8a43c50bb5845b694dbd0b3e0ffbf43dad7 (diff)
downloadguichet-d8633d7fb89b55996f25e1a67180408c805ba15f.tar.gz
guichet-d8633d7fb89b55996f25e1a67180408c805ba15f.zip
final
Diffstat (limited to 'invite.go')
-rw-r--r--invite.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/invite.go b/invite.go
index 0a0e836..060947a 100644
--- a/invite.go
+++ b/invite.go
@@ -60,6 +60,7 @@ func handleInvitationCode(w http.ResponseWriter, r *http.Request) {
inviteDn := config.InvitationNameAttr + "=" + code_id + "," + config.InvitationBaseDN
err = l.Bind(inviteDn, code_pw)
if err != nil {
+ log.Println(err)
templateInviteInvalidCode := getTemplate("invite_invalid_code.html")
templateInviteInvalidCode.Execute(w, nil)
return