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

View File

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