Remove pending from allowed roles

This commit is contained in:
Willnow, Patrick committed 2024-10-16 21:41:47 +02:00
1 parent 9ad07ad0ce
commit ea070e34f9
1 file changed
+1 -1
+1 -1
View File
@@ -409,7 +409,7 @@ OAUTH_ROLES_CLAIM = PersistentConfig(
OAUTH_ALLOWED_ROLES = PersistentConfig(
"OAUTH_ALLOWED_ROLES",
"oauth.allowed_roles",
[role.strip() for role in os.environ.get("OAUTH_ALLOWED_ROLES", "pending,user,admin").split(",")],
[role.strip() for role in os.environ.get("OAUTH_ALLOWED_ROLES", "user,admin").split(",")],
)
OAUTH_ADMIN_ROLES = PersistentConfig(