MatrixSynapse/synapse
Andrew Morgan 72167fb394
Change user deactivated errcode to USER_DEACTIVATED and use it (#5686)
This is intended as an amendment to #5674 as using M_UNKNOWN as the errcode makes it hard for clients to differentiate between an invalid password and a deactivated user (the problem we were trying to solve in the first place).

M_UNKNOWN was originally chosen as it was presumed than an MSC would have to be carried out to add a new code, but as Synapse often is the testing bed for new MSC implementations, it makes sense to try it out first in the wild and then add it into the spec if it is successful. Thus this PR return a new M_USER_DEACTIVATED code when a deactivated user attempts to login.
2019-07-31 15:19:06 +01:00
..
_scripts Run Black. (#5482) 2019-06-20 19:32:02 +10:00
api Change user deactivated errcode to USER_DEACTIVATED and use it (#5686) 2019-07-31 15:19:06 +01:00
app Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
appservice Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
config Remove non-functional 'expire_access_token' setting (#5782) 2019-07-30 08:25:02 +01:00
crypto Share SSL options for well-known requests 2019-07-31 10:39:24 +01:00
events Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
federation Room Complexity Client Implementation (#5783) 2019-07-30 02:47:27 +10:00
groups Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
handlers Remove duplicate return statement 2019-07-31 13:24:51 +01:00
http Share SSL options for well-known requests 2019-07-31 10:39:24 +01:00
logging Make Jaeger fully configurable (#5694) 2019-07-23 15:46:04 +01:00
metrics Support Prometheus_client 0.4.0+ (#5636) 2019-07-18 23:57:15 +10:00
module_api Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
push Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
replication Bugfixes 2019-07-24 13:47:51 +01:00
res/templates Change password reset links to /_matrix. 2019-06-11 11:34:33 +01:00
rest Bugfixes 2019-07-24 13:47:51 +01:00
server_notices Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
state Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
static Add 'rel' attribute to default welcome page. (#5695) 2019-07-19 12:03:36 +01:00
storage Don't recreate column 2019-07-30 16:42:48 +01:00
streams Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
util Add kwargs and doc 2019-07-29 10:03:14 +02:00
__init__.py 1.2.1 2019-07-26 11:33:16 +01:00
event_auth.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
notifier.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
python_dependencies.py Add process hooks to tell systemd our state. 2019-07-22 14:52:18 +01:00
secrets.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
server.py cleanups 2019-06-27 00:37:41 +01:00
server.pyi Run Black. (#5482) 2019-06-20 19:32:02 +10:00
types.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
visibility.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00