create default avatar, admin, and deleted user on first run

This commit is contained in:
2025-06-29 19:32:09 +03:00
parent 9d20da6a16
commit b0bd27edd0
7 changed files with 88 additions and 1 deletions

View File

@ -2,7 +2,7 @@ from argon2 import PasswordHasher
ph = PasswordHasher()
def hash_password(password):
def digest(password):
return ph.hash(password)
def verify(expected, given):