forked-synapse/synapse/handlers
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
..
__init__.py Make synchrotron accept /events 2016-08-12 15:31:44 +01:00
_base.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py copyrights 2016-01-07 04:26:29 +00:00
appservice.py Reject malformed 3PE query metadata results earlier in AS API handling code 2016-09-09 15:07:04 +01:00
auth.py Interactive Auth: Return 401 from for incorrect password 2016-10-07 00:00:00 +01:00
device.py make device IDs more useful for human disambiguation 2016-09-13 00:02:39 +01:00
devicemessage.py Add a new method to enqueue the device messages rather than sending a dummy EDU 2016-09-07 16:10:51 +01:00
directory.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
e2e_keys.py Limit how often we ask for keys from dead servers 2016-09-13 11:53:50 +01:00
events.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
federation.py Add comments 2016-09-22 11:59:46 +01:00
identity.py requestToken update 2016-06-30 17:51:28 +01:00
initial_sync.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
message.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
presence.py Fix typo "persiting" 2016-09-13 13:26:33 +01:00
profile.py Add create_requester function 2016-07-26 16:46:53 +01:00
receipts.py Clobber EDUs in send queue 2016-09-09 15:59:08 +01:00
register.py Forbid non-ASes from registering users whose names begin with '_' (SYN-738) 2016-07-27 17:54:26 +01:00
room_list.py Add total_room_count_estimate to /publicRooms 2016-09-21 13:30:05 +01:00
room_member.py Fix membership changes to be idempotent 2016-09-02 19:23:22 +01:00
room.py Move RoomListHandler into a separate file 2016-09-14 14:07:37 +01:00
search.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
sync.py Only return new device messages in /sync 2016-09-02 15:50:37 +01:00
typing.py Move FEDERATION_PING_INTERVAL timer. Update log line 2016-09-23 15:43:34 +01:00