Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
base-django-courses
Commits
84cb3564
Commit
84cb3564
authored
5 years ago
by
Laury Bueno
Browse files
Options
Download
Email Patches
Plain Diff
[Auth] Allow cookies to take precedence over Tokens
parent
7a475a9f
Pipeline
#8152
passed with stage
in 53 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/settings/base.py
config/settings/base.py
+1
-1
No files found.
config/settings/base.py
View file @
84cb3564
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment