Skip to content

Commit 9272b54

Browse files
committed
Updated string check
1 parent ca9b7a2 commit 9272b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dot_ext/views/authorization.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def form_valid(self, form):
171171
application_available_scopes = CapabilitiesScopes().get_available_scopes(application=application)
172172

173173
# Set scopes to those available to application and beneficiary demographic info choices
174-
if share_demographic_scopes:
174+
if share_demographic_scopes == "True":
175175
scopes = ' '.join(
176176
[s for s in scopes.split(" ") if s in application_available_scopes]
177177
)

0 commit comments

Comments
 (0)