mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 06:31:27 +08:00
add more logging
This commit is contained in:
parent
b4211dba78
commit
c17ecba202
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue