Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
59d0ada7
Commit
59d0ada7
authored
6 years ago
by
Robert Raposa
Browse files
Options
Downloads
Patches
Plain Diff
Use EnsureJWTAuthSettingsMiddleware middleware.
parent
e86eef65
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/envs/common.py
+2
-0
2 additions, 0 deletions
cms/envs/common.py
lms/envs/common.py
+2
-0
2 additions, 0 deletions
lms/envs/common.py
with
4 additions
and
0 deletions
cms/envs/common.py
+
2
−
0
View file @
59d0ada7
...
...
@@ -515,6 +515,8 @@ MIDDLEWARE_CLASSES = [
'
waffle.middleware.WaffleMiddleware
'
,
'
edx_rest_framework_extensions.middleware.EnsureJWTAuthSettingsMiddleware
'
,
# This must be last so that it runs first in the process_response chain
'
openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware
'
,
]
...
...
This diff is collapsed.
Click to expand it.
lms/envs/common.py
+
2
−
0
View file @
59d0ada7
...
...
@@ -1297,6 +1297,8 @@ MIDDLEWARE_CLASSES = [
# Inserts Enterprise content.
'
openedx.features.enterprise_support.middleware.EnterpriseMiddleware
'
,
'
edx_rest_framework_extensions.middleware.EnsureJWTAuthSettingsMiddleware
'
,
# This must be last
'
openedx.core.djangoapps.site_configuration.middleware.SessionCookieDomainOverrideMiddleware
'
,
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment