cleaned up a comment

This commit is contained in:
David Kennedy 2024-06-20 17:48:00 -04:00
parent 60f10cb3cd
commit baee980b47
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -102,7 +102,6 @@ class CheckUserProfileMiddleware:
custom_redirect = "domain-request:" if request.path == "/request/" else None
# Don't redirect on excluded pages (such as the setup page itself)
# if not any(request.path.startswith(page) for page in excluded_pages):
if not any(request.path.startswith(page) for page in self._get_excluded_pages(profile_page)):
# Preserve the original query parameters, and coerce them into a dict