feat: init easy backend install from cli

This commit is contained in:
swve 2024-04-19 19:00:49 +02:00
parent 5c7c405e41
commit a6742d17c1
9 changed files with 134 additions and 55 deletions

View file

@ -190,7 +190,7 @@ async def change_password_with_reset_code(
)
# Change password
user.password = await security_hash_password(new_password)
user.password = security_hash_password(new_password)
db_session.add(user)
db_session.commit()