implement recaptcha on login

This commit is contained in:
Henrique Dias
2017-09-11 09:00:59 +01:00
parent a61329843c
commit 002f8066c7
12 changed files with 473 additions and 330 deletions

View File

@@ -66,6 +66,10 @@ type FileManager struct {
// there will only exist one user, called "admin".
NoAuth bool
// ReCaptcha Site key and secret.
ReCaptchaKey string
ReCaptchaSecret string
// StaticGen is the static websit generator handler.
StaticGen StaticGen