browsertrix/backend/test
Tessa Walsh 5c5ef68a8a
Prevent user from logging in after 5 consecutive failed login attempts until pw is reset (#1281)
Fixes #1270 

After 5 consecutive failed logins from the same user, we now prevent the
user from logging in even with the correct password until they reset it
via their email, or wait an hour.
- After failure threshold is reached, all further login attempts are rejected
- Attempts for invalid email addresses are also tracked
- On 6th try, a reset password email is automatically sent, only once
- Failed login counter resets after an hour of no further logins after last attempted login.

---------
Co-authored-by: Ilya Kreymer <ikreymer@gmail.com>
2023-10-20 14:10:56 -07:00
..
data Uploads API: BaseCrawl refactor + Initial support for /uploads endpoint (#937) 2023-07-07 09:13:26 -07:00
__init__.py
conftest.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
echo_server.py Add event webhook tests (#1155) 2023-09-12 22:08:40 -07:00
test_collections.py Fix: Make Collections Public on Creation (#1213) 2023-09-29 12:08:10 -07:00
test_crawl_config_search_values.py Backend API consistency pass (#921) 2023-06-16 18:52:46 -07:00
test_crawl_config_tags.py Backend API consistency pass (#921) 2023-06-16 18:52:46 -07:00
test_crawlconfigs.py Separate seeds into a new endpoints (#1217) 2023-10-02 10:56:12 -07:00
test_filter_sort_results.py Separate seeds into a new endpoints (#1217) 2023-10-02 10:56:12 -07:00
test_invites.py
test_login.py User refactor + remove fastapi_users dependency + update fastapi (#1290) 2023-10-18 10:49:23 -07:00
test_org.py Add id-slug lookup and restrict slugs endpoints to superadmins (#1279) 2023-10-13 17:02:19 -07:00
test_permissions.py
test_run_crawl.py avoid exception if 'errors' key doesn't exist (#1301) 2023-10-19 14:39:54 -07:00
test_settings.py
test_stop_cancel_crawl.py Operator refactor to control pods + pvcs directly instead of statefulsets (#1149) 2023-09-11 10:38:04 -07:00
test_uploads.py avoid exception if 'errors' key doesn't exist (#1301) 2023-10-19 14:39:54 -07:00
test_users.py Prevent user from logging in after 5 consecutive failed login attempts until pw is reset (#1281) 2023-10-20 14:10:56 -07:00
test_utils.py Add slugs to org backend (#1250) 2023-10-10 18:30:09 -07:00
test_webhooks.py Increase wait to 30 seconds to ensure webhooks are sent (#1173) 2023-09-13 20:20:47 -07:00
test_workflow_auto_add_to_collection.py feat: implement 'collections' array with {name, id} for archived item details (#1098) 2023-08-25 00:26:46 -07:00
utils.py Uploads API: BaseCrawl refactor + Initial support for /uploads endpoint (#937) 2023-07-07 09:13:26 -07:00