🔥 Remove USERS_OPEN_REGISTRATION
config, make registration enabled by default (#1274)
This commit is contained in:
@@ -94,7 +94,6 @@ class Settings(BaseSettings):
|
||||
# TODO: update type to EmailStr when sqlmodel supports it
|
||||
FIRST_SUPERUSER: str
|
||||
FIRST_SUPERUSER_PASSWORD: str
|
||||
USERS_OPEN_REGISTRATION: bool = False
|
||||
|
||||
def _check_default_secret(self, var_name: str, value: str | None) -> None:
|
||||
if value == "changethis":
|
||||
|
Reference in New Issue
Block a user