1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 14:44:29 +02:00

Allow admin to set a failed-login attempt limit before auto-banning occurs.

This commit is contained in:
Cameron
2015-04-12 22:34:44 -07:00
parent 2f46c967da
commit bcfe20dd2b
3 changed files with 21 additions and 9 deletions

View File

@@ -2005,6 +2005,13 @@ $text .= "
<div class='field-help'>".PRFLAN_91."</div>
</td>
</tr>
<tr>
<td><label for='failed-login-limit'>Maximum failed logins before ban:</label></td>
<td>
".$frm->number('failed_login_limit', varset($pref['failed_login_limit'],10), 3, array('max'=>10, 'min'=>0))."
<div class='smalltext field-help'>Failed logins from the same IP will be banned after this many attempts.</div>
</td>
</tr>
<tr>
<td><label for='adminpwordchange'>".PRFLAN_139.":</label></td>
<td>