Correction du ticket #15

master
Dark-Storm 4 years ago
parent 912750d97e
commit 936d0e2e8e
Signed by untrusted user: Darks
GPG Key ID: F61F10FA138E797C

@ -166,7 +166,7 @@ class Member(User, db.Model):
if "password" in data:
self.set_password(data["password"])
if "bio" in data:
self.biography = data["bio"]
self.bio = data["bio"]
if "signature" in data:
self.signature = data["signature"]
if "birthday" in data:

@ -19,7 +19,7 @@ def account():
password = form.password.data or None,
birthday = form.birthday.data,
signature = form.signature.data,
biography = form.biography.data,
bio = form.biography.data,
newsletter = form.newsletter.data
)
db.session.merge(current_user)

Loading…
Cancel
Save