RISE now limits repeated tries on the public forms. This stops password guessing, fake accounts and mail flooding, even when reCAPTCHA is not set up.
Limits
| Form | Limit |
| Sign in | 10 wrong passwords for one email, or 30 from one IP address, in 15 minutes. Then sign in is blocked for the rest of the 15 minutes. |
| Forgot password | 3 reset emails for one email address, or 10 from one IP address, in 15 minutes. |
| Client sign up | 10 new accounts from one IP address in one hour. The email verification mail has the same limits as the reset email. |
| Store order without sign in | 10 orders from one IP address in one hour. |
| Pasted images (visitors) | 30 images from one IP address in 10 minutes. |
When a limit is reached, the user sees "Too many attempts. Please try again later." A successful sign in clears the wrong password count of that email.
Store checkout
- Clients and visitors can order whole quantities only (1, 2, 3...). A quantity like 2.5 is saved as 2. Team members can still enter any quantity on their own orders.
- A visitor order needs a name, a valid email and a password of at least 6 characters.
- Only team members can choose the company of an order. Client and visitor orders use the default company.
Tips
- For more protection, turn on reCAPTCHA in Settings > Integration > reCAPTCHA.
- If your site is behind a proxy or a load balancer, set proxyIPs in app/Config/App.php (see below). Otherwise every visitor has the same IP address and the IP limits are shared.
Sites behind a proxy
Write the proxy's IP address (or its network) as the key and the header that holds the visitor's IP as the value. Example for a proxy in the 172.18.0.0/16 network that sends the X-Real-IP header:
public $proxyIPs = ['172.18.0.0/16' => 'X-Real-IP'];
Use a header that your proxy sets itself, like X-Real-IP. Don't use X-Forwarded-For when your proxy adds to it: RISE reads its first IP, and a visitor can fake that one. A plain list of IPs without a header name gives an error.
Turn off the limits
The limits are on by default. To turn them off, open app/Config/App.php and add this line inside the App class (the line is not there by default):
public $disable_request_limiter = true;
Remove the line, or set it to false, to turn the limits on again. We don't recommend turning them off when client sign up is open and reCAPTCHA is not set up.