Skip to content

Commit

Permalink
Merge pull request #1152 from maykinmedia/fix/2310-kvk-branch-logout
Browse files Browse the repository at this point in the history
[#2310] Added `reverse("logout")` to user redirect middleware pass list
  • Loading branch information
alextreme authored Apr 12, 2024
2 parents b54d732 + 6367e55 commit e015a67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/open_inwoner/utils/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def get_always_pass_prefixes() -> tuple[str, ...]:
settings.PRIVATE_MEDIA_URL,
settings.STATIC_URL,
reverse("login"),
reverse("logout"),
reverse("kvk:branches"),
# prefixes from urls.py
"/admin/",
Expand Down

0 comments on commit e015a67

Please sign in to comment.