Commit 4eea6fc0 authored by Lukas Burgey's avatar Lukas Burgey

Remove token authentication

parent c3c2c7cd
......@@ -46,7 +46,6 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'rest_framework.authtoken',
'django_backend.backend',
'corsheaders',
'django_mysql',
......@@ -112,7 +111,6 @@ AUTHENTICATION_BACKENDS = [
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'django_backend.backend.auth.v1.auth_class.CsrfExemptSessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
],
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment