From 3ecb9f1d44643a5f9f4c4e78c8dcbb0d1d29b074 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Mon, 26 Dec 2022 08:06:56 +1100 Subject: [PATCH] docs: fix hash func usage in the compose setup (#4643) --- examples/compose/local/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/compose/local/setup.sh b/examples/compose/local/setup.sh index 56c211ddf..b22487892 100755 --- a/examples/compose/local/setup.sh +++ b/examples/compose/local/setup.sh @@ -99,7 +99,7 @@ fi password if [[ $PASSWORD != "" ]]; then - PASSWORD=$(sudo docker run authelia/authelia authelia hash-password $PASSWORD | sed 's/Password hash: //g') + PASSWORD=$(sudo docker run authelia/authelia authelia crypto hash generate argon2 --password $PASSWORD | sed 's/Digest: //g') if [[ $(uname) == "Darwin" ]]; then sudo sed -i '' "s//$(echo $PASSWORD | sed -e 's/[\/&]/\\&/g')/g" authelia/users_database.yml else