http: render: never expose ReCaptchaSecret to public

This commit is contained in:
Equim 2018-01-22 06:39:30 +08:00
parent a314501fd8
commit 72f0e3fd81

View File

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