mirror of
https://github.com/wassname/flask-security.git
synced 2026-07-19 11:23:28 +08:00
Do not expose user info in /reset responses. Fixes #249
This commit is contained in:
@@ -71,7 +71,7 @@ def test_recoverable_flag(app, client, get_message):
|
||||
'Content-Type': 'application/json'
|
||||
})
|
||||
assert response.headers['Content-Type'] == 'application/json'
|
||||
assert 'user' in response.jdata['response']
|
||||
assert 'user' not in response.jdata['response']
|
||||
|
||||
logout(client)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user