summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/caddyauth
diff options
context:
space:
mode:
authorFrancis Lavoie <lavofr@gmail.com>2022-11-14 11:38:02 -0500
committerGitHub <noreply@github.com>2022-11-14 09:38:02 -0700
commitee7c92ec9b57c671c9091ff993b1a24251020c25 (patch)
treeb9d012e3cbcdf75959b69a7210b762fb48c8b78b /modules/caddyhttp/caddyauth
parent33fdea8f261c306a47b07a6df2c3cb8fe2ad2d5d (diff)
reverseproxy: Mask the WS close message when we're the client (#5199)
* reverseproxy: Mask the WS close message when we're the client * weakrand * Bump golangci-lint version so path ignores work on Windows * gofmt * ugh, gofmt everything, I guess
Diffstat (limited to 'modules/caddyhttp/caddyauth')
-rw-r--r--modules/caddyhttp/caddyauth/caddyfile.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/caddyhttp/caddyauth/caddyfile.go b/modules/caddyhttp/caddyauth/caddyfile.go
index afa3808..05c0232 100644
--- a/modules/caddyhttp/caddyauth/caddyfile.go
+++ b/modules/caddyhttp/caddyauth/caddyfile.go
@@ -27,10 +27,10 @@ func init() {
// parseCaddyfile sets up the handler from Caddyfile tokens. Syntax:
//
-// basicauth [<matcher>] [<hash_algorithm> [<realm>]] {
-// <username> <hashed_password_base64> [<salt_base64>]
-// ...
-// }
+// basicauth [<matcher>] [<hash_algorithm> [<realm>]] {
+// <username> <hashed_password_base64> [<salt_base64>]
+// ...
+// }
//
// If no hash algorithm is supplied, bcrypt will be assumed.
func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error) {