Skip to content

Commit

Permalink
fix: Sanctum rate limit max attempts cast to int
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-code-labx committed Aug 11, 2024
1 parent d60563b commit cbad2b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/rest-presenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
],
'logout_revoke_all_tokens' => env('REST_PRESENTER_AUTH_LOGOUT_REVOKE_ALL_TOKENS', false),
'rate_limit' => [
'max_attempts' => env('REST_PRESENTER_AUTH_RATE_LIMIT_MAX_ATTEMPTS', 5),
'max_attempts' => (int) env('REST_PRESENTER_AUTH_RATE_LIMIT_MAX_ATTEMPTS', 5),
],
],
'exporters' => [
Expand Down

0 comments on commit cbad2b9

Please sign in to comment.