diff --git a/webpage/docs/configuration/authentication.md b/webpage/docs/configuration/authentication.md index 8bf73322..2ad72cda 100644 --- a/webpage/docs/configuration/authentication.md +++ b/webpage/docs/configuration/authentication.md @@ -240,10 +240,10 @@ You can leave the file empty and add users later using the HTTP API. } ``` - If you want to hash the passwords, you can use the following command to generate a sha256 hash: + If you want to hash the passwords, you can use the following command to generate a sha256 base64-encoded hash of the password: ```bash - echo -n "password" | sha256sum + echo -n "password" | openssl sha256 -binary | base64 - ```