mirror of
https://github.com/restic/rest-server.git
synced 2025-12-08 06:09:47 +00:00
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:
parent
4db46a5d3d
commit
20edfb87ee
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue