1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-On Help: Security Error

Discussion in 'XenForo Development Discussions' started by Tristan10, Jul 26, 2016.

  1. Tristan10

    Tristan10 Member

  2. Thomas.B

    Thomas.B Well-Known Member

    HTTP POST requests need to include a valid CSRF token. It should work if you add the following input element to the form:

    <input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
     
  3. Tristan10

    Tristan10 Member

    Thank you. Do you think you could explain in detail? I am brand new to add-ons and basically every part of coding them.

    EDIT: I figured it out.
     
    Last edited: Jul 27, 2016

Share This Page