From 09920bc7068f4db28dcbf0906055903f5979adb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20Garc=C3=ADa=20Amor?= Date: Mon, 2 Dec 2024 10:15:05 +0100 Subject: [PATCH] Fixes changemail POST --- supysonic/frontend/user.py | 1 + 1 file changed, 1 insertion(+) 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))