Go to Sysgage Security → Settings → Login Protection. The defaults suit most sites:
| Setting | Default | When to change it |
|---|---|---|
| Failed attempts allowed | 5 | Lower it for sites with few users |
| Counting window (minutes) | 15 | Failures older than this are forgotten |
| Lock the user account | On | Keep on: the account cannot log in, even with the right password, until it is unlocked |
| Send a password reset email when locked | On | Setting a new password unlocks the account |
| Auto-unlock accounts after (hours) | 0 | Set a number if you prefer accounts to unlock on their own |
| IP block duration (minutes) | 60 | Repeat offenders get double the time, up to 30 days |
| Hide which part of the login was wrong | On | Stops attackers from finding valid usernames |
Click Save settings.
Good to know: anyone who knows a username can lock that account by guessing wrong 5 times. That is why the owner gets a reset link straight away, and why usernames are hidden from the outside by the Hardening options.
