Replies: 1 comment 1 reply
|
What are your CSRF storage settings? If your server can't store the token to compare it will always fail. FWIW.. Mine are configured in config/settings.cfm like so: Have a look through the CSRF configuration options here to see if they line up with your session/cookie configuration. https://guides.cfwheels.org/cfwheels-guides/working-with-cfwheels/configuration-and-defaults |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Scratching my head over this one... I have a very simple login form that outputs the error noted in the discussion title.
protectfromForgery()is enabled in Controller.cfc or when usingsuper.config()in another controller. When these are not used, login is successful.authenticityToken: 74FCE31B9B06338133015250E054BE0F0F657A1FPOSTand still get the same errorWhat is causing this?
Here's the form:
and a basic controller for authentication
All reactions