mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-11-01 00:10:58 +00:00
A lot of generalization for better scaling and overview
This commit is contained in:
1 parent
485a0155c6
commit
543276d766
23 files changed
+138
-616
No files matched your search
+2
-1
@@ -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