1 parent
0e73f7af09
commit
07cbc91a8e
1 file changed
+1
-1
@@ -1264,7 +1264,7 @@ class OAuthManager:
|
||||
if oauth_roles:
|
||||
matched = False
|
||||
for allowed_role in oauth_allowed_roles:
|
||||
if allowed_role in oauth_roles:
|
||||
if allowed_role == '*' or allowed_role in oauth_roles:
|
||||
log.debug('Assigned user the user role')
|
||||
role = 'user'
|
||||
matched = True
|
||||
|
||||
Reference in new issue
Block a user