Commit 84cb3564 authored by Laury Bueno's avatar Laury Bueno

[Auth] Allow cookies to take precedence over Tokens

parent 7a475a9f
Pipeline #8152 passed with stage
in 53 seconds
......@@ -289,8 +289,8 @@ AUTHENTICATION_BACKENDS = [
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.TokenAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
),
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticatedOrReadOnly',
......
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