Skip to content

Conversation

@jcass77
Copy link
Contributor

@jcass77 jcass77 commented Feb 7, 2017

Adds support for Flask-WTF>=0.14. In production environments where WTF_CSRF_ENABLED is enabled, the form.data will contain a csrf_token field which is passed to User.create(), causing a TypeError.

Unfortunately I wasn't able to provide a test case for this as creating a test suite that will work with WTF_CSRF_ENABLED = True is not a trivial exercise.

Also fixed the @classmethod signatures while I was at it.

Fixes #92.

@rdegges rdegges merged commit d911a0a into stormpath:develop Feb 8, 2017
@rdegges
Copy link
Contributor

rdegges commented Feb 8, 2017

Thanks again =)

@jcass77
Copy link
Contributor Author

jcass77 commented Feb 14, 2017

@rdegges, chance of getting a new release out that contains the Flask-WTF>=0.14 fixes at this stage?

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