Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prints the token request #31

Open
boionfire81-zz opened this issue Jun 28, 2018 · 1 comment
Open

Prints the token request #31

boionfire81-zz opened this issue Jun 28, 2018 · 1 comment

Comments

@boionfire81-zz
Copy link

  1. Using just a standard php file.
  2. Required the anticsrf.php file.
  3. Do not have/use twig so I tried calling it using
    A. generateToken('form.php')
    B. $csrf=$AntiCSRF->generateToken('form.php'); and added the $csrf to the form.
    C. insertToken('form.php')

In any case it simply prints the function name.

@Kooser06
Copy link

What do you mean it prints the token name, could you provide the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants