fix: test good slug to create verified app
This commit is contained in:
parent
30efabda0a
commit
19ba977062
|
@ -244,7 +244,11 @@ class Command(BaseCommand):
|
|||
ou=ou,
|
||||
defaults={"name": verified_source_app_slug},
|
||||
)
|
||||
if not created and verified_source_app_role.slug != slug:
|
||||
if (
|
||||
not created
|
||||
and verified_source_app_role.slug
|
||||
!= verified_source_app_slug
|
||||
):
|
||||
access_role.name = verified_source_app_slug
|
||||
access_role.save()
|
||||
verified_source_app_oidc_client = OIDCClient.objects.get(
|
||||
|
|
Loading…
Reference in New Issue