mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
fb14ef68e2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue