summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/caddyauth/caddyfile.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/caddyauth/caddyfile.go')
-rw-r--r--modules/caddyhttp/caddyauth/caddyfile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/caddyauth/caddyfile.go b/modules/caddyhttp/caddyauth/caddyfile.go
index 9fe8a80..13e78fc 100644
--- a/modules/caddyhttp/caddyauth/caddyfile.go
+++ b/modules/caddyhttp/caddyauth/caddyfile.go
@@ -35,6 +35,7 @@ func init() {
// If no hash algorithm is supplied, bcrypt will be assumed.
func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) {
var ba HTTPBasicAuth
+ ba.HashCache = new(Cache)
for h.Next() {
var cmp Comparer