matt1018 / RBOColorWalk

Rainbow Girls Charity Walk Web Site
2 stars 0 forks source link

InvalidAuthenticityToken #56

Open matt1018 opened 3 years ago

matt1018 commented 3 years ago

Info on this is here: https://stackoverflow.com/questions/3364492/actioncontrollerinvalidauthenticitytoken

Below is the crash dump. This is happening on my ajax calls so I'm thinking the authenticitytoken is being cached on the HTTP GET call to the registration page (since it is a GET and not a POST/PATCH). I think I just post the form that is on the page so it makes sense that it would potentially be cached. There's a way not to cache it...I think it says in the above stackoverflow link.

An ActionController::InvalidAuthenticityToken occurred in registrations#step:

ActionController::InvalidAuthenticityToken


Request:


Session:


Environment:

matt1018 commented 1 year ago

I made a post on StackOverflow about the best way of handling these and got a link to good information. Do that.