summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-10-06 18:20:27 +0100
committerRichard van der Hoff <richard@matrix.org>2016-10-07 00:00:00 +0100
commit5d9546f9f491fc5395b4e524af9a44ffbf056dc4 (patch)
treefbef36838259d4e6fbefe43101ff5e0751df577f /scripts-dev
parentMerge pull request #1146 from matrix-org/erikj/port_script_fix (diff)
downloadsynapse-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 '')
0 files changed, 0 insertions, 0 deletions