Browse Source

Remove pending from allowed roles

Willnow, Patrick 6 months ago
parent
commit
ea070e34f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/open_webui/config.py

+ 1 - 1
backend/open_webui/config.py

@@ -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(