forked from open-webui/open-webui
Merge pull request #863 from duhow/patch-1
config: allow custom default user role
This commit is contained in:
commit
507a92ece7
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ DEFAULT_PROMPT_SUGGESTIONS = (
|
|||
)
|
||||
|
||||
|
||||
DEFAULT_USER_ROLE = "pending"
|
||||
DEFAULT_USER_ROLE = os.getenv("DEFAULT_USER_ROLE", "pending")
|
||||
USER_PERMISSIONS = {"chat": {"deletion": True}}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue