caddy hash-password
[-p, --plaintext <password>]
- [-a, --algorithm <name>]
- [-s, --salt <string>]
+ [-a, --algorithm <name>]
Convenient way to hash a plaintext password. The resulting hash is written to stdout as a format usable directly in your Caddy config.
@@ -254,10 +255,6 @@ Convenient way to hash a plaintext password. The resulting hash is written to st
`--algorithm` may be `bcrypt` or any installed hash algorithm. Default is `bcrypt`.
-`--salt` is used only if the algorithm requires an external salt (like `scrypt`).
-
-Note that `scrypt` is deprecated. Please use `bcrypt` instead.
-
diff --git a/src/docs/markdown/v2-upgrade.md b/src/docs/markdown/v2-upgrade.md
index 22440f73..fd686ccc 100644
--- a/src/docs/markdown/v2-upgrade.md
+++ b/src/docs/markdown/v2-upgrade.md
@@ -118,7 +118,7 @@ We'll list some of the most common v1 directives here and describe how to conver
### basicauth
-HTTP Basic Authentication is still configured with the [`basicauth`](/docs/caddyfile/directives/basicauth) directive. However, Caddy 2 configuration does not accept plaintext passwords. You must hash them, which the [`caddy hash-password`](/docs/command-line#caddy-hash-password) can help with.
+HTTP Basic Authentication is still configured with the [`basic_auth`](/docs/caddyfile/directives/basic_auth) directive. However, Caddy 2 configuration does not accept plaintext passwords. You must hash them, which the [`caddy hash-password`](/docs/command-line#caddy-hash-password) can help with.
- **v1:**
```
@@ -127,7 +127,7 @@ basicauth /secret/ Bob hiccup
- **v2:**
```caddy-d
-basicauth /secret/* {
+basic_auth /secret/* {
Bob JDJhJDEwJEVCNmdaNEg2Ti5iejRMYkF3MFZhZ3VtV3E1SzBWZEZ5Q3VWc0tzOEJwZE9TaFlZdEVkZDhX
}
```
diff --git a/src/features.html b/src/features.html
index a9d4c25c..6315313c 100644
--- a/src/features.html
+++ b/src/features.html
@@ -906,7 +906,7 @@