recaptcha: render recaptcha host

This commit is contained in:
Equim 2018-02-27 00:27:49 +08:00
parent ece7d10cfc
commit 0ab37951e6
No known key found for this signature in database
GPG Key ID: 0534B6F897D268E7

View File

@ -228,6 +228,7 @@ func renderFile(c *fm.Context, w http.ResponseWriter, file string) (int, error)
"Version": fm.Version,
"CSS": template.CSS(c.CSS),
"ReCaptcha": c.ReCaptchaKey != "" && c.ReCaptchaSecret != "",
"ReCaptchaHost": c.ReCaptchaHost,
"ReCaptchaKey": c.ReCaptchaKey,
}