Skip to content

Commit

Permalink
docs: terminology, replace 'encoded' by 'hashed'
Browse files Browse the repository at this point in the history
  • Loading branch information
debovema committed Mar 13, 2020
1 parent f19eebd commit 1ec87eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/content/middlewares/basicauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ http:

### General

Passwords must be encoded using MD5, SHA1, or BCrypt.
Passwords must be hashed using MD5, SHA1, or BCrypt.

!!! tip

Use `htpasswd` to generate the passwords.

### `users`

The `users` option is an array of authorized users. Each user will be declared using the `name:encoded-password` format.
The `users` option is an array of authorized users. Each user will be declared using the `name:hashed-password` format.

!!! note ""

Expand Down Expand Up @@ -165,7 +165,7 @@ http:

The `usersFile` option is the path to an external file that contains the authorized users for the middleware.

The file content is a list of `name:encoded-password`.
The file content is a list of `name:hashed-password`.

!!! note ""

Expand Down

0 comments on commit 1ec87eb

Please sign in to comment.