Jump to content
jfreak53

Token Locating

Recommended Posts

How exactly do I get the current token? I have tried

$_SESSION['tkval']

but this is not the current correct token string value.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines