synapse-old/synapse
Richard van der Hoff 5d9546f9f4 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
2016-10-07 00:00:00 +01:00
..
api Update comments 2016-09-22 12:54:22 +01:00
app Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
appservice Log if rejecting 3PE query metadata result due to type check 2016-09-09 15:11:31 +01:00
config Remove support for aggregate room lists 2016-09-15 09:28:15 +01:00
crypto Preserve some logcontexts 2016-08-24 11:58:40 +01:00
events Add comments 2016-09-05 10:41:27 +01:00
federation Time out typing over federation 2016-09-23 14:00:52 +01:00
handlers Interactive Auth: Return 401 from for incorrect password 2016-10-07 00:00:00 +01:00
http Pass since/from parameters over federation 2016-09-15 10:36:19 +01:00
metrics Make psutil optional 2016-08-08 11:12:21 +01:00
push _id field must uniquely identify different conditions 2016-09-19 10:34:01 +01:00
replication Fix public room pagination for client_reader app 2016-09-16 14:48:21 +01:00
rest Time out typing over federation 2016-09-23 14:00:52 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Remove duplication 2016-09-27 09:27:54 +01:00
streams Add store-and-forward direct-to-device messaging 2016-08-25 17:35:37 +01:00
util Change get_pos_of_last_change to return upper bound 2016-09-15 15:12:07 +01:00
__init__.py Bump version and changelog 2016-09-19 17:16:56 +01:00
notifier.py Explicitly specify state_key for history_visibility fetching 2016-09-02 14:53:46 +01:00
python_dependencies.py Accept optional token to public room list 2016-09-15 09:08:57 +01:00
server.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Merge pull request #1121 from matrix-org/erikj/public_room_paginate 2016-09-15 13:27:09 +01:00
types.py Shuffle things around to make unit tests work 2016-09-22 11:08:12 +01:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00