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

Send to action raises InvalidAuthenticityToken exception #81

Open
dmitry opened this issue Aug 28, 2019 · 2 comments
Open

Send to action raises InvalidAuthenticityToken exception #81

dmitry opened this issue Aug 28, 2019 · 2 comments

Comments

@dmitry
Copy link

dmitry commented Aug 28, 2019

On the latest rails 5.2 once I click "send to" button I get the message: ActionController::InvalidAuthenticityToken.

authenticity_token field is being sent.

@dmitry
Copy link
Author

dmitry commented Aug 28, 2019

The reason is config.session_store :disabled.

@dmitry
Copy link
Author

dmitry commented Aug 28, 2019

Probably in this case I will need to do skip_before_action :verify_authenticity_token for RailsEmailPreview.EmailsController

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

1 participant