1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-07-17 14:55:53 +02:00
This commit is contained in:
quark
2025-07-09 16:12:55 +02:00
parent cf9d208586
commit 82a06c29dd
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class PermissionScopes(BaseScopes):
scopes = {}
if 'scopes' in kwargs:
for scope in kwargs['scopes']:
if scope == 'openid' :
if scope == 'openid':
scopes['openid'] = "OpenID Connect"
else:
p = Permission.objects.get(id=scope.split('_')[0])