master
AnzeBlaBla 2022-11-18 11:08:08 +01:00
parent e13de02143
commit e32324ea6b
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class User(UserMixin, db.Model):
if user is None: if user is None:
user = cls(username=username) user = cls(username=username)
db.session.add(user) db.session.add(user)
user.password = hasher.hash(password) user.password = hasher.hash(password)
db.session.commit() db.session.commit()
return user return user