Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/213.canada.removal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed old Flask login Middleware.
4 changes: 3 additions & 1 deletion ckan/config/middleware/flask_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,9 @@ def load_user_from_request(request): # type: ignore
config[key] = flask_app.config[key]

# Prevent the host from request to be added to the new header location.
app = HostHeaderMiddleware(app)
# (canada fork only): remove old user auth domain things...
# TODO: upstream contrib!!
# app = HostHeaderMiddleware(app)

app = I18nMiddleware(app)

Expand Down