Jump to content

Form Tokens


NiteFox
 Share

Recommended Posts

Afternoon 😀

When it comes to creating a custom form for a plugin page in the back-end and front-end are tokens automatically detected and checked?

<input type="hidden" name="token" value="{$SESSION_TOKEN}" />

Cheers,

🙃

Link to comment
Share on other sites

The latest versions of CubeCart, when the last template is fetched from Smarty's rendering, will look for every </form> tag and replace it with code that includes the hidden input form element.

There are just a few things that are not checked: such as ajax requests and gateway callbacks.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...