Release beta 6 (#1012)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-10-04 14:52:42 -03:00 • committed by GitHub
commit 358d595b36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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: