From 2b565bc7620051827720b406af51c9bb15a7f6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 17 Jun 2025 09:58:42 +0200 Subject: [PATCH] fix incorrect docs, #545. --- webpage/docs/configuration/authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 - ```