I added (int) to the configuration in the parameters, where we get the numbers through the env function.
This commit is contained in:
@@ -3,6 +3,6 @@ return [
|
||||
/**
|
||||
* Max limit of the hour.
|
||||
*/
|
||||
'login_max_request' => env('LOGIN_MAX_REQUEST', 50),
|
||||
'login_max_email_request' => env('LOGIN_MAX_EMAIL_REQUEST', 10),
|
||||
'login_max_request' => (int) env('LOGIN_MAX_REQUEST', 50),
|
||||
'login_max_email_request' => (int) env('LOGIN_MAX_EMAIL_REQUEST', 10),
|
||||
];
|
||||
|
Reference in New Issue
Block a user