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

ActionController::InvalidAuthenticityToken in LetterOpenerWeb::LettersController#clear #125

Open
rafaelbiriba opened this issue Aug 31, 2022 · 4 comments

Comments

@rafaelbiriba
Copy link

image

I am getting error from time to time when trying to use the clear button!

@jaspermayone
Copy link

Also having this issue.

@jaspermayone
Copy link

@fgrehm thoughts on what may be happening here?

@fgrehm
Copy link
Owner

fgrehm commented May 14, 2024

Sorry, haven't used the gem in a while, @stevenharman is helping out with things these days too.

@stevenharman have you experienced that before? I might be able to set up a toy app to play with things at some point this month

@stevenharman
Copy link
Collaborator

I've not seen this, but my guess is Rails is being restarted between when the Letter Opener Web UI was loaded, and when the "clear" button was clicked, and thus the CSRF token isn't valid. But that's just a guess as I've not seen this myself.

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

4 participants