Skip to content

Commit

Permalink
Add user disabled attribute to setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
g3kk0 committed Apr 19, 2018
1 parent 631e031 commit 22d1bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ printf "\n%s" "Waiting for services... "
printf "$green%s$nc\n" "done"
# setup admin account
printf "%s" "Creating accounts... "
./natsc request -s nats://127.0.0.1:4222 -t 5 -r 99 'user.set' "{\"username\": \"$ERNESTUSER\", \"password\": \"$ERNESTPASSWORD\", \"type\": \"local\", \"admin\": true}" &> /dev/null
./natsc request -s nats://127.0.0.1:4222 -t 5 -r 99 'user.set' "{\"username\": \"$ERNESTUSER\", \"password\": \"$ERNESTPASSWORD\", \"type\": \"local\", \"admin\": true, \"disabled\": false}" &> /dev/null
printf "$green%s$nc\n" "done"

printf "\n$green%s$nc\n\n" "Setup complete!"
Expand Down

0 comments on commit 22d1bb7

Please sign in to comment.