HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Solution to form submission when the user is logged off
We found a need to allow a specific form to be displayed and processed even when the user is logged off. One use case is when an employee fills in a form requesting to be invited (norally we pre-invite users). We noticed that the test for postback always returns false,upon investigation we discovered that the culprit is… -
Re: Solution to form submission when the user is logged off
In the code above, the if condition can be dropped completely and you can simply use $Postback = Gdn::request()->isPostBack(); The EntryController which also requires non-users to send data also uses isPostBack(). authenticatedPostBack() adds a security layer that you should always use if it is critical from whom the form…
2 results