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

Remove protect_from_forgery call #47

Merged

Conversation

jlcapps
Copy link
Contributor

@jlcapps jlcapps commented May 21, 2024

The #active and #timeout actions are defined with http GETs. protect_from_forgery is not required for http GET calls, and setting the protect_from_forgery with these actions causes an exception when using the rails configuration option raise_on_missing_callback_actions. Therefore remove the call.

See also: #46

The `#active` and `#timeout` actions are defined with http
GETs. protect_from_forgery is not required for http GET calls, and
setting the protect_from_forgery with these actions causes an
exception when using the rails configuration option
`raise_on_missing_callback_actions`. Therefore remove the call.

See also: pelargir#46
@pelargir
Copy link
Owner

@jlcapps thanks!

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

Successfully merging this pull request may close these issues.

2 participants