form: reliably disable submit button, communicate if account linking is required

This commit is contained in:
Harvey Tindall
2022-01-27 16:48:46 +00:00
parent 42dbc04ff9
commit dbefb80f63
6 changed files with 117 additions and 54 deletions
+1
View File
@@ -316,6 +316,7 @@ func (app *appContext) GenCaptcha(gc *gin.Context) {
captchaID := genAuthToken()
inv.Captchas[captchaID] = capt
app.storage.invites[code] = inv
app.storage.storeInvites()
gc.JSON(200, genCaptchaDTO{captchaID})
return
}