Merge pull request #64 from hikhvar/dont-print-credentials

Do not print the admin credentials on container startup.
This commit is contained in:
Christian Mäder 2018-04-19 12:28:56 +02:00 committed by GitHub
commit 19805a4312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ 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}" echo "💡 Username: ${SUPERUSER_NAME}, E-Mail: ${SUPERUSER_EMAIL}"
./manage.py shell --plain << END ./manage.py shell --plain << END
from django.contrib.auth.models import User from django.contrib.auth.models import User