form: add notice about userpage on success modal, userpage title

uses new strings in the form lang section.
This commit is contained in:
Harvey Tindall
2023-06-22 10:12:22 +01:00
parent 4f298bbc8c
commit db97c3b2d4
6 changed files with 12 additions and 2 deletions
+1
View File
@@ -625,6 +625,7 @@ func (app *appContext) InviteProxy(gc *gin.Context) {
"captcha": app.config.Section("captcha").Key("enabled").MustBool(false),
"reCAPTCHA": app.config.Section("captcha").Key("recaptcha").MustBool(false),
"reCAPTCHASiteKey": app.config.Section("captcha").Key("recaptcha_site_key").MustString(""),
"userPageEnabled": app.config.Section("user_page").Key("enabled").MustBool(false),
}
if telegram {
data["telegramPIN"] = app.telegram.NewAuthToken()