docs: update superuser auth documentation (#8713)
* Update superuser auth documentation * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
ad7c11af95
commit
2c74c291a8
1 changed files with 5 additions and 6 deletions
|
|
@ -27,9 +27,12 @@ class AuthSettings(BaseSettings):
|
|||
API_KEY_ALGORITHM: str = "HS256"
|
||||
API_V1_STR: str = "/api/v1"
|
||||
|
||||
# If AUTO_LOGIN = True
|
||||
# > The application does not request login and logs in automatically as a super user.
|
||||
AUTO_LOGIN: bool = True
|
||||
"""If True, the application will attempt to log in automatically as a super user."""
|
||||
skip_auth_auto_login: bool = True
|
||||
"""If True, the application will skip authentication when AUTO_LOGIN is enabled.
|
||||
This will be removed in v1.6"""
|
||||
|
||||
NEW_USER_IS_ACTIVE: bool = False
|
||||
SUPERUSER: str = DEFAULT_SUPERUSER
|
||||
SUPERUSER_PASSWORD: str = DEFAULT_SUPERUSER_PASSWORD
|
||||
|
|
@ -50,10 +53,6 @@ class AuthSettings(BaseSettings):
|
|||
COOKIE_DOMAIN: str | None = None
|
||||
"""The domain attribute of the cookies. If None, the domain is not set."""
|
||||
|
||||
skip_auth_auto_login: bool = True
|
||||
"""If True, the application will skip the authentication auto login, set this to False to revert to pre-v1.5
|
||||
behavior. This will be removed in v1.6"""
|
||||
|
||||
pwd_context: CryptContext = CryptContext(schemes=["bcrypt"], deprecated="auto")
|
||||
|
||||
model_config = SettingsConfigDict(validate_assignment=True, extra="ignore", env_prefix="LANGFLOW_")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue