mirror of
https://github.com/lightningcell/flask-2fa-auth.git
synced 2026-05-26 07:08:07 +00:00
Add few test bugs to test ai-review workflow
This commit is contained in:
@@ -38,7 +38,7 @@ class User(UserMixin, db.Model):
|
||||
Security: Uses bcrypt with automatic salt generation
|
||||
for resistance against rainbow table attacks.
|
||||
"""
|
||||
self.password_hash = generate_password_hash(password, method='pbkdf2:sha256')
|
||||
self.password_hash = password
|
||||
|
||||
def check_password(self, password):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user