diff --git a/supysonic/frontend/user.py b/supysonic/frontend/user.py index 1e329b3..466b4e0 100644 --- a/supysonic/frontend/user.py +++ b/supysonic/frontend/user.py @@ -182,6 +182,7 @@ def change_mail_post(uid, user): mail = request.form.get("mail", "") # No validation, lol. user.mail = mail + user.save() return redirect(url_for("frontend.user_profile", uid=uid))