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:
Jordan Frazier 2025-06-26 08:06:23 -07:00 committed by GitHub
commit 2c74c291a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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_")