diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-09-26 08:40:30 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-09-26 08:40:30 +0200 |
commit | d8633d7fb89b55996f25e1a67180408c805ba15f (patch) | |
tree | 50c7b637e1f89c6ffcf8fcc7bf99429e91c944ef /invite.go | |
parent | 982bd8a43c50bb5845b694dbd0b3e0ffbf43dad7 (diff) | |
download | guichet-d8633d7fb89b55996f25e1a67180408c805ba15f.tar.gz guichet-d8633d7fb89b55996f25e1a67180408c805ba15f.zip |
final
Diffstat (limited to 'invite.go')
-rw-r--r-- | invite.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |