chore: revert changing default auth (#3934)
This commit is contained in:
+1
-3
@@ -1007,9 +1007,7 @@ class EnvSettings(LNbitsSettings):
|
|||||||
debug_database: bool = Field(default=False)
|
debug_database: bool = Field(default=False)
|
||||||
bundle_assets: bool = Field(default=True)
|
bundle_assets: bool = Field(default=True)
|
||||||
# When enabled, auth cookies require HTTPS and SSO will reject insecure HTTP.
|
# When enabled, auth cookies require HTTPS and SSO will reject insecure HTTP.
|
||||||
# Keep disabled by default so local HTTP installs continue to work unless
|
auth_https_only: bool = Field(default=True)
|
||||||
# operators explicitly opt into HTTPS-only auth cookies.
|
|
||||||
auth_https_only: bool = Field(default=False)
|
|
||||||
host: str = Field(default="127.0.0.1")
|
host: str = Field(default="127.0.0.1")
|
||||||
port: int = Field(default=5000, gt=0)
|
port: int = Field(default=5000, gt=0)
|
||||||
forwarded_allow_ips: str = Field(default="*")
|
forwarded_allow_ips: str = Field(default="*")
|
||||||
|
|||||||
Reference in New Issue
Block a user