mirror of
https://github.com/csd4ni3l/grass_touching_captcha.git
synced 2026-01-01 12:33:45 +01:00
rename delete_data to delete_account
This commit is contained in:
2
main.py
2
main.py
@@ -403,7 +403,7 @@ def change_password():
|
||||
flask_login.logout_user()
|
||||
return redirect(url_for("login"))
|
||||
|
||||
@app.route("/delete_data", methods=["POST"])
|
||||
@app.route("/delete_account", methods=["POST"])
|
||||
@flask_login.login_required
|
||||
def delete_data():
|
||||
username = flask_login.current_user.id
|
||||
|
||||
Reference in New Issue
Block a user