From c17ecba202f50c7a14051f746de29e0b94660dde Mon Sep 17 00:00:00 2001 From: Son NK <> Date: Wed, 15 Apr 2020 21:34:22 +0200 Subject: [PATCH] add more logging --- app/dashboard/views/setting.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/dashboard/views/setting.py b/app/dashboard/views/setting.py index 4379300b..aa647112 100644 --- a/app/dashboard/views/setting.py +++ b/app/dashboard/views/setting.py @@ -142,6 +142,7 @@ def setting(): return redirect(url_for("dashboard.setting")) elif request.form.get("form-name") == "delete-account": + LOG.warning("Delete account %s", current_user) User.delete(current_user.id) db.session.commit() flash("Your account has been deleted", "success")