Properly remove basic auth
This commit is contained in:
		| @@ -5,7 +5,6 @@ charset-normalizer==2.0.10 | ||||
| cryptography==36.0.1 | ||||
| Deprecated==1.2.13 | ||||
| Django==3.2 | ||||
| django-basicauth==0.5.3 | ||||
| django-oauth-toolkit==1.6.3 | ||||
| django-scim2==0.17.0 | ||||
| gunicorn==20.1.0 | ||||
|   | ||||
| @@ -51,7 +51,6 @@ MIDDLEWARE = [ | ||||
|     'django.middleware.common.CommonMiddleware', | ||||
|     'django.middleware.csrf.CsrfViewMiddleware', | ||||
|     'django.contrib.auth.middleware.AuthenticationMiddleware', | ||||
|     'basicauth.middleware.BasicAuthMiddleware', | ||||
|     'django_scim.middleware.SCIMAuthCheckMiddleware', | ||||
|     'django.contrib.messages.middleware.MessageMiddleware', | ||||
|     'django.middleware.clickjacking.XFrameOptionsMiddleware', | ||||
|   | ||||
| @@ -1,7 +1,5 @@ | ||||
| from django.utils.decorators import method_decorator | ||||
| from django.views.generic import TemplateView | ||||
| from basicauth.decorators import basic_auth_required | ||||
|  | ||||
| @method_decorator(basic_auth_required, name='dispatch') | ||||
| class AuthView(TemplateView): | ||||
|     template_name = "index.html" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user