-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
100 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
return [ | ||
'throttle' => [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Enable throttling of Backend authentication attempts | ||
|-------------------------------------------------------------------------- | ||
| | ||
| If set to true, users will be given a limited number of attempts to sign | ||
| in to the Backend before being blocked for a specified number of minutes. | ||
| | ||
*/ | ||
|
||
'enabled' => true, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Failed Authentication Attempt Limit | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Number of failed attempts allowed while trying to authenticate a user. | ||
| | ||
*/ | ||
|
||
'attemptLimit' => 5, | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Suspension Time | ||
|-------------------------------------------------------------------------- | ||
| | ||
| The number of minutes to suspend further attempts on authentication once | ||
| the attempt limit is reached. | ||
| | ||
*/ | ||
|
||
'suspensionTime' => 15, | ||
], | ||
]; |