I'm using Low Search on a site and during testing we are seeing the error “You are not authorized to perform this action” pretty frequently on the site after submitting the search form. Does anyone know why this is happening?
1 Answer
The "You are not authorized to perform this action" error in this case was caused by users using their browser's back button while testing the form.
Adding the secure="no"
parameter to the exp:low_search:form
tag fixed the problem:
{exp:low_search:form secure="no"}
-
1Correct. Note that the error is triggered because of the Secure Forms setting in EE: ellislab.com/expressionengine/user-guide/security/… and is true for any form generated by EE where you submit it, hit the back button, and submit it again.– LowCommented Jan 23, 2013 at 9:15
-
I've locked this answer to see if it will stop the spam edits that keep getting posted.– Anna_MediaGirl ♦Commented Sep 11, 2013 at 18:27