Fixed wrong var here

The script isn't working currently, I'll fix this in another commit
This commit is contained in:
Alexander Trost
2015-10-22 00:48:57 +02:00
parent 7ec534f69e
commit b5cf042dbe

View File

@@ -4,7 +4,7 @@
/home/zulip/deployments/current/manage.py knight "$ZULIP_USER_EMAIL" -f || :
/home/zulip/deployments/current/manage.py shell <<EOF
from zerver.decorator import get_user_profile_by_email
User = get_user_profile_by_email('atrost@zerbytes.net')
User = get_user_profile_by_email('$ZULIP_USER_EMAIL')
User.set_password('$ZULIP_USER_PASS')
User.save()
EOF