-
Notifications
You must be signed in to change notification settings - Fork 172
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
Enable CSRF Protection protect #1209
base: main
Are you sure you want to change the base?
Enable CSRF Protection protect #1209
Conversation
rhythmdesai404
commented
Oct 22, 2024
- Enabled CSRF Protection
/easycla |
1 similar comment
/easycla |
Misclick, sorry about that. Is this PR ready for review? |
# Enable CSRF Protection | ||
protect_from_forgery with: :exception |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @rhythmdesai404! Since I haven't heard back from you after Eric's comment earlier, I'm assuming this is ready for review.
I'm curious about why we need to turn this on. This is test code, and shouldn't impact the user. Why do we need to enable it here?