include code in invite form instead of getting from url

potentially solves #34?
This commit is contained in:
Harvey Tindall
2021-01-14 14:22:20 +00:00
parent 3c799b8783
commit a102199d5a
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -56,6 +56,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) {
"email": email,
"username": !app.config.Section("email").Key("no_username").MustBool(false),
"lang": app.storage.lang.Form[lang]["strings"],
"code": code,
})
} else {
gcHTML(gc, 404, "invalidCode.html", gin.H{