forked-synapse/synapse/rest/client/v1
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
..
__init__.py
directory.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
events.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
initial_sync.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
login.py Only do rc_login ratelimiting on succesful login. 2019-11-06 11:08:58 +00:00
logout.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
presence.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
profile.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
push_rule.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
pusher.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00
room.py Port room rest handlers to async/await 2019-10-29 13:09:29 +00:00
voip.py Remove unnecessary parentheses around return statements (#5931) 2019-08-30 16:28:26 +01:00