From a9ccaa1ae515c93d93059753f49272c96bfa1cd6 Mon Sep 17 00:00:00 2001 From: William Wang Date: Thu, 11 Jul 2019 15:37:27 -0400 Subject: [PATCH] add recaptcha plugin (#2664) --- caddyhttp/httpserver/plugin.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/caddyhttp/httpserver/plugin.go b/caddyhttp/httpserver/plugin.go index 606c71b09..ecd922983 100644 --- a/caddyhttp/httpserver/plugin.go +++ b/caddyhttp/httpserver/plugin.go @@ -655,6 +655,7 @@ var directives = []string{ "filter", // github.com/echocat/caddy-filter "ipfilter", // github.com/pyed/ipfilter "ratelimit", // github.com/xuqingfeng/caddy-rate-limit + "recaptcha", // github.com/defund/caddy-recaptcha "expires", // github.com/epicagency/caddy-expires "forwardproxy", // github.com/caddyserver/forwardproxy "basicauth", @@ -664,14 +665,14 @@ var directives = []string{ "s3browser", // github.com/techknowlogick/caddy-s3browser "nobots", // github.com/Xumeiquer/nobots "mime", - "login", // github.com/tarent/loginsrv/caddy - "reauth", // github.com/freman/caddy-reauth - "extauth", // github.com/BTBurke/caddy-extauth - "jwt", // github.com/BTBurke/caddy-jwt - "permission", // github.com/dhaavi/caddy-permission - "jsonp", // github.com/pschlump/caddy-jsonp - "upload", // blitznote.com/src/caddy.upload - "multipass", // github.com/namsral/multipass/caddy + "login", // github.com/tarent/loginsrv/caddy + "reauth", // github.com/freman/caddy-reauth + "extauth", // github.com/BTBurke/caddy-extauth + "jwt", // github.com/BTBurke/caddy-jwt + "permission", // github.com/dhaavi/caddy-permission + "jsonp", // github.com/pschlump/caddy-jsonp + "upload", // blitznote.com/src/caddy.upload + "multipass", // github.com/namsral/multipass/caddy "internal", "pprof", "expvar",