A lot of generalization for better scaling and overview

This commit is contained in:
Patrick Jentsch
2024-04-30 16:00:06 +02:00
parent 485a0155c6
commit 543276d766
23 changed files with 138 additions and 616 deletions

View File

@ -146,7 +146,8 @@ class User(HashidMixin, UserMixin, db.Model):
@password.setter
def password(self, password):
self.password_hash = generate_password_hash(password)
#pbkdf2:sha256
self.password_hash = generate_password_hash(password, method='pbkdf2')
@property
def path(self) -> Path: