aboutsummaryrefslogtreecommitdiffstats
path: root/backend/authentication/backend.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/authentication/backend.py')
-rw-r--r--backend/authentication/backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/authentication/backend.py b/backend/authentication/backend.py
index c84ba10..e150580 100644
--- a/backend/authentication/backend.py
+++ b/backend/authentication/backend.py
@@ -68,6 +68,6 @@ class JWTAuthenticationBackend(authentication.AuthenticationBackend):
if await user.fetch_admin_status(request.state.db):
scopes.append("admin")
- scopes.extend(await user.get_user_roles(request.state.db))
+ scopes.extend(await user.get_user_roles())
return authentication.AuthCredentials(scopes), user