(remove): Removed temp comments
This commit is contained in:
parent
51f154ab73
commit
1652079874
2 changed files with 1 additions and 2 deletions
|
|
@ -10,7 +10,6 @@ class User(db.Model):
|
|||
|
||||
def __init__(self, username, password, hash_password=True):
|
||||
self.username = username
|
||||
# Optionally hash the password automatically.
|
||||
if hash_password:
|
||||
self.password = generate_password_hash(password, method="pbkdf2:sha256")
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue