Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

_render_json returning 200 in case of bad request/wrong password #525

Closed
shipperizer opened this issue Jun 20, 2016 · 1 comment
Closed

Comments

@shipperizer
Copy link
Contributor

shipperizer commented Jun 20, 2016

https://github.com/mattupstate/flask-security/blob/develop/flask_security/views.py#L52

Here a 200 OK status gets returned even in case of a failure, shouldn't it return the same code present in the [meta][code]?
PR here in case you think it's a good idea #526

@jirikuncar
Copy link
Collaborator

closed via #526

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants