From dd7ef2a113712c94ba2d9e2c63d6f66a55f430f3 Mon Sep 17 00:00:00 2001
From: Patrick Jentsch
Date: Wed, 11 Sep 2019 14:55:26 +0200
Subject: [PATCH] Fix wrong path.
---
app/auth/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/auth/views.py b/app/auth/views.py
index 3d302f75..7396e225 100644
--- a/app/auth/views.py
+++ b/app/auth/views.py
@@ -162,7 +162,7 @@ def settings():
)
-@auth.route('/edit_profile/delete_self', methods=['GET', 'POST'])
+@auth.route('/settings/delete_self', methods=['GET', 'POST'])
@login_required
def delete_self():
user = current_user