mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
[DOCS] Update hash-password example with single quotes (#1537)
* [Doc] Single quote the hash-password input Closes #1536 * Update docs/configuration/authentication/file.md Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
This commit is contained in:
parent
86c4577127
commit
a7968bc77b
|
@ -90,9 +90,10 @@ you could generate a 16 byte salt and provide it with the `--salt` flag.
|
|||
Example: `authelia hash-password --salt abcdefghijklhijl`. For argon2id the salt must
|
||||
always be valid for base64 decoding (characters a through z, A through Z, 0 through 9, and +/).
|
||||
|
||||
Passwords passed to `hash-password` should be single quoted if using special characters to prevent parameter substitution.
|
||||
For instance to generate a hash with the docker image just run:
|
||||
|
||||
$ docker run authelia/authelia:latest authelia hash-password yourpassword
|
||||
$ docker run authelia/authelia:latest authelia hash-password 'yourpassword'
|
||||
Password hash: $argon2id$v=19$m=65536$3oc26byQuSkQqksq$zM1QiTvVPrMfV6BVLs2t4gM+af5IN7euO0VB6+Q8ZFs
|
||||
|
||||
Full CLI Help Documentation:
|
||||
|
|
Loading…
Reference in New Issue
Block a user