Skip to content

Commit

Permalink
Decraese the number of rounds for bcrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
kzalite committed Feb 20, 2020
1 parent 23ffba9 commit 9c8f03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion add-user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo Enter password:
read -s PASSWORD

echo Generating hash
HASH=$(npx bcrypt-cli $PASSWORD 14)
HASH=$(npx bcrypt-cli $PASSWORD 10)

echo Adding user to database
docker run -i -v `pwd`:`pwd` -w `pwd` --rm --link postgres:postgres postgres psql -h postgres -U mcda \
Expand Down

0 comments on commit 9c8f03f

Please sign in to comment.