diff options
author | Erik Johnston <erik@matrix.org> | 2019-11-05 17:39:16 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-11-06 11:08:58 +0000 |
commit | 541f1b92d946093fef17ea8b95a7cb595fc5ffc4 (patch) | |
tree | 10c6fc859130ae4e529a1e2e5400c3ec398326b8 /.coveragerc | |
parent | Improve documentation for EventContext fields (#6319) (diff) | |
download | synapse-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 '.coveragerc')
0 files changed, 0 insertions, 0 deletions