Remove POST method in global search route

This commit is contained in:
Khanh Ngo 2019-12-11 10:02:04 +07:00
parent de69eaf825
commit a65b940103
No known key found for this signature in database
GPG Key ID: D5FAA6A16150E49E

View File

@ -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():