July 7 - Fix reset link hasn't been sent
This commit is contained in:
@@ -328,7 +328,7 @@ def edit(customer_id):
|
||||
if form.validate_on_submit():
|
||||
customer.username = form.username.data
|
||||
customer.full_name = form.full_name.data.strip() or None
|
||||
customer.email = form.email.data
|
||||
customer.email = form.email.data.strip().lower()
|
||||
if form.password.data:
|
||||
customer.set_password(form.password.data)
|
||||
db.session.commit()
|
||||
|
||||
Reference in New Issue
Block a user