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

Add skip_validation decorator to bypass CSRF validation programatically #84

Closed
wants to merge 1 commit into from

Conversation

Projects
None yet
2 participants
@bjudson
Copy link
Contributor

commented Jan 18, 2019

This allows controlling validation() calls without applying @exempt decorator to each endpoint. Useful when performing widespread manual validation (eg through a custom view decorator or before_request hook).

Happy to add documentation if this makes sense to merge.

Add skip_validation decorator to bypass CSRF validation programatically
This allows controlling validation() calls without applying @exempt decorator to each endpoint. Useful when performing widespread manual validation (eg through a custom view decorator or before_request hook).
@bjudson

This comment has been minimized.

Copy link
Contributor Author

commented Jan 18, 2019

Those test failures confuse me, but they look the same/similar to the ones failing on master. FWIW all tests pass on my laptop running Python 3.6.

@bjudson

This comment has been minimized.

Copy link
Contributor Author

commented Mar 4, 2019

Is anyone maintaining this project?

@maxcountryman

This comment has been minimized.

Copy link
Owner

commented Mar 4, 2019

Closing as tests aren’t passing.

@bjudson

This comment has been minimized.

Copy link
Contributor Author

commented Mar 4, 2019

It appears that tests are failing on master.

https://travis-ci.org/maxcountryman/flask-seasurf/builds/432163366

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.