mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 15:34:53 +02:00
cleanup
This commit is contained in:
parent
c7544dabe2
commit
1fb31c0cd0
1 changed files with 1 additions and 3 deletions
|
@ -153,7 +153,5 @@ class CheckOrganizationMiddleware:
|
|||
home_organization_with_portfolio = reverse(
|
||||
"organization-domains", kwargs={"portfolio_id": first_portfolio.id}
|
||||
)
|
||||
|
||||
if current_path != home_organization_with_portfolio:
|
||||
return HttpResponseRedirect(home_organization_with_portfolio)
|
||||
return HttpResponseRedirect(home_organization_with_portfolio)
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue