Merge pull request #143 from MichaelEischer/docker-create-bcrypt

docker: use bcrypt in create_users script
This commit is contained in:
MichaelEischer 2021-08-23 20:10:38 +02:00 committed by GitHub
commit 5be12cecbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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