docker: use bcrypt in create_users script

This was missed when adding bcrypt support in rest-server 0.9.7
This commit is contained in:
Michael Eischer
2021-01-31 18:58:06 +01:00
parent 4db46a5d3d
commit 20edfb87ee

View File

@@ -9,8 +9,8 @@ fi
if [ -z "$2" ]; then if [ -z "$2" ]; then
# password from prompt # password from prompt
htpasswd -s $PASSWORD_FILE $1 htpasswd -B $PASSWORD_FILE $1
else else
# read password from command line # read password from command line
htpasswd -s -b $PASSWORD_FILE $1 $2 htpasswd -B -b $PASSWORD_FILE $1 $2
fi fi