mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-19 05:05:58 +08:00
fix
This commit is contained in:
parent
6101067ea4
commit
1c18282d19
@ -509,6 +509,12 @@ ENABLE_OAUTH_GROUP_MANAGEMENT = PersistentConfig(
|
|||||||
os.environ.get("ENABLE_OAUTH_GROUP_MANAGEMENT", "False").lower() == "true",
|
os.environ.get("ENABLE_OAUTH_GROUP_MANAGEMENT", "False").lower() == "true",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ENABLE_OAUTH_GROUP_CREATION = PersistentConfig(
|
||||||
|
"ENABLE_OAUTH_GROUP_CREATION",
|
||||||
|
"oauth.enable_group_creation",
|
||||||
|
os.environ.get("ENABLE_OAUTH_GROUP_CREATION", "False").lower() == "true",
|
||||||
|
)
|
||||||
|
|
||||||
OAUTH_ROLES_CLAIM = PersistentConfig(
|
OAUTH_ROLES_CLAIM = PersistentConfig(
|
||||||
"OAUTH_ROLES_CLAIM",
|
"OAUTH_ROLES_CLAIM",
|
||||||
"oauth.roles_claim",
|
"oauth.roles_claim",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user