diff --git a/pyproject.toml b/pyproject.toml index 9a9bfcf77..aa326cf84 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langflow" -version = "0.5.0b5" +version = "0.5.0b6" description = "A Python package with a built-in web application" authors = ["Logspace "] maintainers = [ diff --git a/src/backend/langflow/services/utils.py b/src/backend/langflow/services/utils.py index 1909088bd..05bc43fda 100644 --- a/src/backend/langflow/services/utils.py +++ b/src/backend/langflow/services/utils.py @@ -47,7 +47,7 @@ def get_or_create_super_user(session: Session, username, password, is_default): user = session.query(User).filter(User.username == username).first() - if user and user.is_superuser and verify_password(password, user.password): + if user and user.is_superuser: return None # Superuser already exists if user and is_default: