summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-11-05 17:39:16 +0000
committerErik Johnston <erik@matrix.org>2019-11-06 11:08:58 +0000
commit541f1b92d946093fef17ea8b95a7cb595fc5ffc4 (patch)
tree10c6fc859130ae4e529a1e2e5400c3ec398326b8 /mypy.ini
parentImprove documentation for EventContext fields (#6319) (diff)
downloadsynapse-541f1b92d946093fef17ea8b95a7cb595fc5ffc4.tar.xz
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.
Diffstat (limited to 'mypy.ini')
0 files changed, 0 insertions, 0 deletions