mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
42 lines
1.2 KiB
PHP
42 lines
1.2 KiB
PHP
<?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,
|
|
],
|
|
];
|