Make sure login endpoints are protected to make private data more secure.
A simple and powerful technique is to block authorization attempts using two metrics:
The first is number of consecutive failed attempts by the same user name and IP address.
The second is number of failed attempts from an IP address over some long period of time. For example, block an IP address if it makes 100 failed attempts in one day.
Checks
[ ] Code is formatted correctly (npm run lint:fix).
Issue
closes #344
Intent
A simple and powerful technique is to block authorization attempts using two metrics:
Checks
npm run lint:fix
).npm test
).