NiteFox Posted February 10, 2021 Share Posted February 10, 2021 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 More sharing options...
bsmither Posted February 10, 2021 Share Posted February 10, 2021 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 More sharing options...
NiteFox Posted February 10, 2021 Author Share Posted February 10, 2021 @bsmither Fab, thanks. So from a skin point of the plugin theres no need to hardcode the hidden element then? Link to comment Share on other sites More sharing options...
bsmither Posted February 10, 2021 Share Posted February 10, 2021 I would say there is no need. Â Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.