Restrict login when WSGI_AUTH_CREDENTIALS is enabled
@@ -10,7 +10,9 @@ https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/
import os
from django.core.wsgi import get_wsgi_application
+from wsgi_basic_auth import BasicAuth
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "cccatalog.settings")
application = get_wsgi_application()
+application = BasicAuth(application)
