From a65b9401036a5e5116ee7750694066486057584a Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Wed, 11 Dec 2019 10:02:04 +0700 Subject: [PATCH] Remove POST method in global search route --- powerdnsadmin/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/admin.py b/powerdnsadmin/routes/admin.py index 3d8a4e2..7e31c28 100644 --- a/powerdnsadmin/routes/admin.py +++ b/powerdnsadmin/routes/admin.py @@ -1017,7 +1017,7 @@ def delete_template(template): return redirect(url_for('admin.templates')) -@admin_bp.route('/global-search', methods=['GET', 'POST']) +@admin_bp.route('/global-search', methods=['GET']) @login_required @operator_role_required def global_search():