A lot of generalization for better scaling and overview

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

No files matched your search

+2 -1
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: