Mercurial > p > roundup > code
comparison roundup/configuration.py @ 5974:98a8509ce45c
issue2550919 - Anti-bot signup using 4 second delay
missed a file.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sat, 09 Nov 2019 00:31:59 -0500 |
| parents | 1cfd52dee91b |
| children | 71c68961d9f4 |
comparison
equal
deleted
inserted
replaced
| 5973:fe334430ca07 | 5974:98a8509ce45c |
|---|---|
| 796 "By default the 4th login attempt in a minute will notify\n" | 796 "By default the 4th login attempt in a minute will notify\n" |
| 797 "the user that they need to wait 20 seconds before trying to\n" | 797 "the user that they need to wait 20 seconds before trying to\n" |
| 798 "log in again. This limits password guessing attacks and\n" | 798 "log in again. This limits password guessing attacks and\n" |
| 799 "shouldn't need to be changed. Rate limiting on login can\n" | 799 "shouldn't need to be changed. Rate limiting on login can\n" |
| 800 "be disabled by setting the value to 0."), | 800 "be disabled by setting the value to 0."), |
| 801 (IntegerNumberGeqZeroOption, 'registration_delay', "4", | |
| 802 "The number of seconds needed to complete the new user\n" | |
| 803 "registration form. This limits the rate at which bots\n" | |
| 804 "can attempt to sign up. Limit can be disabled by setting\n" | |
| 805 "the value to 0."), | |
| 801 (SameSiteSettingOption, 'samesite_cookie_setting', "Lax", | 806 (SameSiteSettingOption, 'samesite_cookie_setting', "Lax", |
| 802 """Set the mode of the SameSite cookie option for | 807 """Set the mode of the SameSite cookie option for |
| 803 the session cookie. Choices are 'Lax' or | 808 the session cookie. Choices are 'Lax' or |
| 804 'Strict'. 'None' can be used to suppress the | 809 'Strict'. 'None' can be used to suppress the |
| 805 option. Strict mode provides additional security | 810 option. Strict mode provides additional security |
