diff --git a/src/docs/markdown/caddyfile/directives/basicauth.md b/src/docs/markdown/caddyfile/directives/basicauth.md index 7010ffc..db095b4 100644 --- a/src/docs/markdown/caddyfile/directives/basicauth.md +++ b/src/docs/markdown/caddyfile/directives/basicauth.md @@ -27,7 +27,7 @@ basicauth [] [ []] { - **<hash_algorithm>** is the name of the password hashing algorithm (or KDF) used for the hashes in this configuration. Default: `bcrypt` - **<realm>** is a custom realm name. - **<username>** is a username or user ID. -- **<hashed_password>** is the password hash. +- **<hashed_password>** is the base-64 encoding of the password hash. - **<salt_base64>** is the base-64 encoding of the password salt, if an external salt is required. @@ -37,7 +37,7 @@ Protect all resources in /secret so only Bob can access them with the password " ```caddy-d basicauth /secret/* { - Bob $2a$14$Zkx19XLiW6VYouLHR5NmfOFU0z2GTNmpkT/5qqR7hx4IjWJPDhjvG + Bob JDJhJDE0JFpreDE5WExpVzZWWW91TEhSNU5tZk9GVTB6MkdUTm1wa1QvNXFxUjdoeDRJaldKUERoanZH } ```