jfreak53 Posted January 28, 2015 Share Posted January 28, 2015 How exactly do I get the current token? I have tried $_SESSION['tkval'] but this is not the current correct token string value. 0 Quote Link to comment Share on other sites More sharing options...
foka Posted February 2, 2015 Share Posted February 2, 2015 Where you are using the code? 0 Quote Link to comment Share on other sites More sharing options...
jfreak53 Posted February 2, 2015 Author Share Posted February 2, 2015 Addon module. 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted February 2, 2015 Share Posted February 2, 2015 which token you referring to? 0 Quote Link to comment Share on other sites More sharing options...
jfreak53 Posted February 3, 2015 Author Share Posted February 3, 2015 There's only one token in WHMCS, it's "the" token used to authenticate that you actually came from a WHMCS page. - - - Updated - - - It's referred to in templates as '$csrfToken'. But that variable doesn't exist in global nor in $vars. Nor is it stored in the SESSION or COOKIES it seems. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.