mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 10:30:40 +00:00
A lot of generalization for better scaling and overview
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user