diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-10-06 18:20:27 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-10-07 00:00:00 +0100 |
commit | 5d9546f9f491fc5395b4e524af9a44ffbf056dc4 (patch) | |
tree | fbef36838259d4e6fbefe43101ff5e0751df577f /synapse/rest | |
parent | Merge pull request #1146 from matrix-org/erikj/port_script_fix (diff) | |
download | synapse-5d9546f9f491fc5395b4e524af9a44ffbf056dc4.tar.xz |
Interactive Auth: Return 401 from for incorrect password
This requires a bit of fettling, because I want to return a helpful error message too but we don't want to distinguish between unknown user and invalid password. To avoid hardcoding the error message into 15 places in the code, I've had to refactor a few methods to return None instead of throwing. Fixes https://matrix.org/jira/browse/SYN-744
Diffstat (limited to 'synapse/rest')
0 files changed, 0 insertions, 0 deletions