I added (int) to the configuration in the parameters, where we get the numbers through the env function.

This commit is contained in:
2023-12-09 00:54:12 +06:00
parent e72dc03589
commit a5ba9eb3f8
2 changed files with 6 additions and 6 deletions

View File

@@ -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),
];