mirror of
https://github.com/spl0k/supysonic.git
synced 2024-12-22 00:46:18 +00:00
Fixes changemail POST
This commit is contained in:
parent
bd53ac05f6
commit
09920bc706
@ -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))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user