feat: toggle signup enable from admin panel
This commit is contained in:
1 parent
e2d74096f5
commit
bb5bf3964e
6 files changed
+169
-28
No files matched your search
@@ -8,6 +8,8 @@ app = FastAPI()
|
||||
|
||||
origins = ["*"]
|
||||
|
||||
app.state.ENABLE_SIGNUP = True
|
||||
|
||||
app.add_middleware(
|
||||
CORSMiddleware,
|
||||
allow_origins=origins,
|
||||
|
||||
Reference in new issue
Block a user