Skip to content

Commit

Permalink
Merge pull request #364 from helxplatform/bug-log-wordiness
Browse files Browse the repository at this point in the history
fix: Remove the wordy line from logs
  • Loading branch information
hina-shah authored Aug 13, 2024
2 parents e8a9b79 + 681f654 commit e7b147b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions appstore/middleware/filter_whitelist_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ def process_request(self, request):
)
finally:
# Make sure to always run the redirect.
return HttpResponseRedirect(settings.LOGIN_WHITELIST_URL)
logger.info(f"accepting user {user}")
return HttpResponseRedirect(settings.LOGIN_WHITELIST_URL)
return None

def _get_response(self, request):
Expand Down

0 comments on commit e7b147b

Please sign in to comment.