feat: toggle signup enable from admin panel

This commit is contained in:
Timothy J. Baek 2024-01-01 12:32:28 -08:00
parent e2d74096f5
commit bb5bf3964e
6 changed files with 169 additions and 28 deletions

View file

@ -8,6 +8,8 @@ app = FastAPI()
origins = ["*"]
app.state.ENABLE_SIGNUP = True
app.add_middleware(
CORSMiddleware,
allow_origins=origins,