🐛 fix(auth.py): set AUTO_LOGIN to False to disable automatic login as a super user

🐛 fix(API/index.ts): add null check for response object before checking status to prevent potential error
This commit is contained in:
Cristhian Zanforlin Lousa 2023-08-28 18:22:59 -03:00
commit 6c03edc50a
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ class AuthSettings(BaseSettings):
# If AUTO_LOGIN = True
# > The application does not request login and logs in automatically as a super user.
AUTO_LOGIN: bool = True
AUTO_LOGIN: bool = False
FIRST_SUPERUSER: str = "langflow"
FIRST_SUPERUSER_PASSWORD: str = "langflow"