forked from open-webui/open-webui
feat: toggle signup enable from admin panel
This commit is contained in:
parent
e2d74096f5
commit
bb5bf3964e
6 changed files with 169 additions and 28 deletions
|
@ -8,6 +8,8 @@ app = FastAPI()
|
|||
|
||||
origins = ["*"]
|
||||
|
||||
app.state.ENABLE_SIGNUP = True
|
||||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=origins,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue