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

Switch to Form.Meta from SecureForm, improve CSRF errors #271

Merged
merged 3 commits into from
Jan 4, 2017
Merged

Commits on Jan 3, 2017

  1. switch to Form.Meta from deprecated SecureForm, close #216

    * deprecate `csrf_enabled` in `Form.__init__`
    * remove `SecureForm` attributes and methods
    * add `WTF_CSRFF_FIELD_NAME` config
    * rename `CsrfError` to `CSRFError`
    * `validate_csrf` raises `ValidationError` with specific error message,
      ref #239
    davidism committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    1a124b4 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2017

  1. log CSRF errors,close #239

    davidism committed Jan 4, 2017
    Configuration menu
    Copy the full SHA
    b16ba41 View commit details
    Browse the repository at this point in the history
  2. capitalize CSRFProtect

    davidism committed Jan 4, 2017
    Configuration menu
    Copy the full SHA
    1a62039 View commit details
    Browse the repository at this point in the history