Trying a utility file
This commit is contained in:
parent
7746dda87c
commit
8f5f289dec
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ func handleInvitationCode(w http.ResponseWriter, r *http.Request) {
|
||||||
// }
|
// }
|
||||||
|
|
||||||
inviteDn := config.InvitationNameAttr + "=" + code_id + "," + config.InvitationBaseDN
|
inviteDn := config.InvitationNameAttr + "=" + code_id + "," + config.InvitationBaseDN
|
||||||
err := l.Bind(inviteDn, code_pw)
|
err := login.conn.Bind(inviteDn, code_pw)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
templateInviteInvalidCode := getTemplate("invite_invalid_code.html")
|
templateInviteInvalidCode := getTemplate("invite_invalid_code.html")
|
||||||
templateInviteInvalidCode.Execute(w, nil)
|
templateInviteInvalidCode.Execute(w, nil)
|
||||||
|
|
Loading…
Reference in a new issue