aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/views/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py
index 2ee46066..a9e1e43d 100644
--- a/src/web/views/admin.py
+++ b/src/web/views/admin.py
@@ -95,7 +95,7 @@ def delete_user(user_id=None):
flash(
gettext('An error occured while trying to delete a user: %(error)s',
error=error), 'danger')
- return redirect(redirect_url())
+ return redirect(url_for('admin.dashboard'))
@admin_bp.route('/toggle_user/<int:user_id>', methods=['GET'])
bgstack15