Merge remote-tracking branch 'origin/main'

This commit is contained in:
rimu 2024-09-30 09:20:17 +13:00
commit fb14ef68e2

View file

@ -399,7 +399,7 @@ def user_settings():
db.session.commit() db.session.commit()
flash(_('Your changes have been saved.'), 'success') flash(_('Your changes have been saved.'), 'success')
return redirect(url_for('user.change_settings')) return redirect(url_for('user.user_settings'))
elif request.method == 'GET': elif request.method == 'GET':
form.newsletter.data = current_user.newsletter form.newsletter.data = current_user.newsletter
form.email_unread.data = current_user.email_unread form.email_unread.data = current_user.email_unread