forked-synapse/synapse/rest/client
Erik Johnston 541f1b92d9 Only do rc_login ratelimiting on succesful login.
We were doing this in a number of places which meant that some login
code paths incremented the counter multiple times.

It was also applying ratelimiting to UIA endpoints, which was probably
not intentional.

In particular, some custom auth modules were calling
`check_user_exists`, which incremented the counters, meaning that people
would fail to login sometimes.
2019-11-06 11:08:58 +00:00
..
v1 Only do rc_login ratelimiting on succesful login. 2019-11-06 11:08:58 +00:00
v2_alpha Update black to 19.10b0 (#6304) 2019-11-01 02:43:24 +11:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
transactions.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
versions.py Add unstable feature flag 2019-11-01 10:41:23 +00:00