Send admin password, not admin username.

This commit is contained in:
Jason A. Donenfeld 2014-03-14 11:32:19 +01:00
parent 50dbff09ea
commit ba69da0fde

View File

@ -7,7 +7,7 @@ SSH_OPTS := -q -o ControlMaster=auto -o ControlPath=.ssh-deployment.sock
scan:
@echo " SCAN $(WEB_SERVER)"
@curl "$(WEB_SERVER_URL)/scan?username=$(subst $\",,$(ADMIN_USERNAME))&password=$(subst $\",,$(ADMIN_USERNAME))"
@curl "$(WEB_SERVER_URL)/scan?username=$(subst $\",,$(ADMIN_USERNAME))&password=$(subst $\",,$(ADMIN_PASSWORD))"
deploy:
@echo " SSH $(WEB_SERVER)"