From ea070e34f9c1527235d3515cc9f8e6c0e01efb4e Mon Sep 17 00:00:00 2001 From: "Willnow, Patrick" Date: Wed, 16 Oct 2024 21:41:47 +0200 Subject: [PATCH] Remove pending from allowed roles --- backend/open_webui/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 5e5f9e43d..221eae6e0 100644 --- a/backend/open_webui/config.py +++ b/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(