Release beta 6 (#1012)
This commit is contained in:
commit
358d595b36
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "langflow"
|
name = "langflow"
|
||||||
version = "0.5.0b5"
|
version = "0.5.0b6"
|
||||||
description = "A Python package with a built-in web application"
|
description = "A Python package with a built-in web application"
|
||||||
authors = ["Logspace <contact@logspace.ai>"]
|
authors = ["Logspace <contact@logspace.ai>"]
|
||||||
maintainers = [
|
maintainers = [
|
||||||
|
|
|
||||||
|
|
@ -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()
|
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
|
return None # Superuser already exists
|
||||||
|
|
||||||
if user and is_default:
|
if user and is_default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue