mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-05 01:11:55 +02:00
removed profile feature flag reference from process view method
This commit is contained in:
parent
44c911e320
commit
2e3f4bdf0c
1 changed files with 0 additions and 5 deletions
|
@ -72,12 +72,7 @@ class CheckUserProfileMiddleware:
|
|||
"""Runs pre-processing logic for each view. Checks for the
|
||||
finished_setup flag on the current user. If they haven't done so,
|
||||
then we redirect them to the finish setup page."""
|
||||
# Check that the user is "opted-in" to the profile feature flag
|
||||
has_profile_feature_flag = flag_is_active(request, "profile_feature")
|
||||
|
||||
# If they aren't, skip this check entirely
|
||||
if not has_profile_feature_flag:
|
||||
return None
|
||||
|
||||
if request.user.is_authenticated:
|
||||
profile_page = self.profile_page
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue