From 2c74c291a833126a22536f0c9f8754ff19ae2d2c Mon Sep 17 00:00:00 2001 From: Jordan Frazier <122494242+jordanrfrazier@users.noreply.github.com> Date: Thu, 26 Jun 2025 08:06:23 -0700 Subject: [PATCH] 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> --- src/backend/base/langflow/services/settings/auth.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/backend/base/langflow/services/settings/auth.py b/src/backend/base/langflow/services/settings/auth.py index 91cb8dcaf..8ff19e725 100644 --- a/src/backend/base/langflow/services/settings/auth.py +++ b/src/backend/base/langflow/services/settings/auth.py @@ -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_")