mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 01:11:55 +02:00
Update src/registrar/registrar_middleware.py
Co-authored-by: Matt-Spence <matthewswSpence@gmail.com>
This commit is contained in:
parent
990e16246d
commit
1fa80e8193
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ class CheckPortfolioMiddleware:
|
|||
|
||||
# set the portfolio in the session if it is not set
|
||||
if "portfolio" not in request.session or request.session["portfolio"] is None:
|
||||
# if user is a multiple portfolio
|
||||
# if multiple portfolios are allowed for this user
|
||||
if flag_is_active(request, "multiple_portfolios"):
|
||||
# NOTE: we will want to change later to have a workflow for selecting
|
||||
# portfolio and another for switching portfolio; for now, select first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue