Skip to content
Snippets Groups Projects
Commit e09196c9 authored by florimondmanca's avatar florimondmanca
Browse files

remove all usage of token authentication

parent bf393784
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,6 @@ WSGI_APPLICATION = 'project.wsgi.application' ...@@ -102,7 +102,6 @@ WSGI_APPLICATION = 'project.wsgi.application'
# Django rest framework # Django rest framework
REST_FRAMEWORK = { REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [ 'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.TokenAuthentication',
# v Enable session authentication in the browsable API # v Enable session authentication in the browsable API
'rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.SessionAuthentication',
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment