Skip to content

Commit 2b565bc

Browse files
committed
fix incorrect docs, #545.
1 parent b004843 commit 2b565bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpage/docs/configuration/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,10 +240,10 @@ You can leave the file empty and add users later using the HTTP API.
240240
}
241241
```
242242

243-
If you want to hash the passwords, you can use the following command to generate a sha256 hash:
243+
If you want to hash the passwords, you can use the following command to generate a sha256 base64-encoded hash of the password:
244244

245245
```bash
246-
echo -n "password" | sha256sum
246+
echo -n "password" | openssl sha256 -binary | base64 -
247247
```
248248
</details>
249249

0 commit comments

Comments
 (0)