mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-07 22:45:22 +02:00
Fix/fix block registration (#1059)
* fix disable button * add backend env for restricting registration * update state management * add allow_signup to app info * move allow_signup to backend only * cleanup docker-compose * potential darkmode fix * fix missing variable * add banner on login page * use random bools for tests * fix initial state bug * fix state reset
This commit is contained in:
parent
3c2744a3da
commit
13e157827c
20 changed files with 107 additions and 52 deletions
|
@ -1,5 +1,3 @@
|
|||
from pathlib import Path
|
||||
|
||||
from fastapi_camelcase import CamelModel
|
||||
|
||||
|
||||
|
@ -15,6 +13,7 @@ class AppInfo(CamelModel):
|
|||
production: bool
|
||||
version: str
|
||||
demo_status: bool
|
||||
allow_signup: bool
|
||||
|
||||
|
||||
class AdminAboutInfo(AppInfo):
|
||||
|
@ -22,7 +21,7 @@ class AdminAboutInfo(AppInfo):
|
|||
api_port: int
|
||||
api_docs: bool
|
||||
db_type: str
|
||||
db_url: Path
|
||||
db_url: str | None
|
||||
default_group: str
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue