Added login rate limiting feature in Djblets auth and web api
Review Request #8698 — Created Jan. 31, 2017 and submitted — Latest diff uploaded
Developed rate-limit for failed login attempts through either the UI
or API. See review request 8768 to see it's implementation in Review
Board's Authentication form.
Create several unit tests for the login rate limiting feature that
test the rate limits as either custom or default values. They are
found in djblets/auth/tests/test_ratelimit.py and in
webapi/tests/test_api_auth_backend.py.
Diff Revision 15
This is not the most recent revision of the diff. The latest diff is revision 48. See what's changed.
orig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
djblets/settings.py |
---|
djblets/auth/ratelimit.py |
---|
djblets/auth/tests/__init__.py |
---|
djblets/auth/tests/test_ratelimit.py |
---|
djblets/webapi/auth/backends/base.py |
---|
djblets/webapi/tests/test_api_auth_backend.py |
---|
tests/settings.py |
---|