diff --git a/canaille/account.py b/canaille/account.py index e2424e4c..9a8364e9 100644 --- a/canaille/account.py +++ b/canaille/account.py @@ -497,6 +497,7 @@ def profile_edit(editor, username): flash(_("Profile updated successfuly."), "success") user.save() + return redirect(url_for("account.profile_edition", username=username)) return render_template( "profile.html", diff --git a/canaille/templates/profile.html b/canaille/templates/profile.html index 16aedc6a..f2e337e1 100644 --- a/canaille/templates/profile.html +++ b/canaille/templates/profile.html @@ -186,15 +186,9 @@