Do not print the admin credentials. All outputs from STDOUT may end up in a central log store. This will compromise the superuser credentials.

This commit is contained in:
Christoph Petrausch 2018-04-18 13:39:54 +02:00
parent c231aa97a1
commit d9b9a8adda
1 changed files with 0 additions and 1 deletions

View File

@ -29,7 +29,6 @@ if [ -z ${SUPERUSER_API_TOKEN+x} ]; then
fi
fi
echo "💡 Username: ${SUPERUSER_NAME}, E-Mail: ${SUPERUSER_EMAIL}, Password: ${SUPERUSER_PASSWORD}, Token: ${SUPERUSER_API_TOKEN}"
./manage.py shell --plain << END
from django.contrib.auth.models import User