You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`rateLimit`**| Control IP-based rate limiting for all Payload resources. Used to prevent DDoS attacks, etc. [More details](../production/preventing-abuse#rate-limiting-requests). |
Additional Details
In this regard I have a question: how can I set the rateLimit now?
The text was updated successfully, but these errors were encountered:
Was it replaced by something like the code below? Not sure if maxLoginAttempts is the new thing now
auth: {tokenExpiration: 7200,// (7200 = 2h) How many seconds to keep the user logged in lockTime: 900*1000,// (in milliseconds. 900 * 1000 = 15m) Time period to allow the max login attempts maxLoginAttempts: 4,// Automatically lock a user out after X amount of failed logins// verify: true, // Require email verification before being allowed to authenticate},
Documentation Issue
rateLimit property is outdated according to #5221
But in production documentation it is:
payload/docs/configuration/overview.mdx
Line 92 in d6d9edc
Additional Details
In this regard I have a question: how can I set the rateLimit now?
The text was updated successfully, but these errors were encountered: