Plugin for YOURLS.
This plugin adds simple login timeout functionality that kicks in after a given number of logins over a given period of time. By default, this is 5 logins per 15 minutes, but this can be configured. When the limit is reached, the IP address is blocked from logging in for the timeout period. If another login attempt is made before the timeout expires, the timeout resets.
- Put
plugin.php
into/user/plugins
. - Set
MAX_FAILED_LOGINS
andLOGIN_LOCKOUT_MINUTES
in yourconfig.php
if you want to use something other than the defaults. - Go to the plugin administration page and enable the plugin.
Licensed under the 2-Clause BSD License.