Skip to content

Commit 14dc617

Browse files
committed
Update htpasswd command line in the docs
Closes cesanta#203
1 parent 2cd3699 commit 14dc617

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ token: # Settings for the tokens.
5757

5858
# Static user map.
5959
users:
60-
# Password is specified as a BCrypt hash. Use htpasswd -B to generate.
60+
# Password is specified as a BCrypt hash. Use `htpasswd -nB USERNAME` to generate.
6161
"admin":
6262
password: "$2y$05$LO.vzwpWC5LZGqThvEfznu8qhb5SGqvBSWY1J3yZ4AxtMRZ3kN5jC" # badmin
6363
"test":

examples/simple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ token:
1717
expiration: 900
1818

1919
users:
20-
# Password is specified as a BCrypt hash. Use htpasswd -B to generate.
20+
# Password is specified as a BCrypt hash. Use `htpasswd -nB USERNAME` to generate.
2121
"admin":
2222
password: "$2y$05$LO.vzwpWC5LZGqThvEfznu8qhb5SGqvBSWY1J3yZ4AxtMRZ3kN5jC" # badmin
2323
"test":

0 commit comments

Comments
 (0)