|
193 | 193 | // Warning: if you disable this, the password recovery routes (below) will be disabled too! |
194 | 194 | 'setup_auth_routes' => true, |
195 | 195 |
|
196 | | - // Set this to false if you would like to skip adding the password recovery routes |
197 | | - // (you then need to manually define the routes in your web.php) |
198 | | - 'setup_password_recovery_routes' => true, |
199 | | - |
200 | 196 | // Set this to false if you would like to skip adding the dashboard routes |
201 | 197 | // (you then need to overwrite the login route on your AuthController) |
202 | 198 | 'setup_dashboard_routes' => true, |
|
205 | 201 | // (you then need to manually define the routes in your web.php) |
206 | 202 | 'setup_my_account_routes' => true, |
207 | 203 |
|
| 204 | + // Set this to false if you would like to skip adding the password recovery routes |
| 205 | + // (you then need to manually define the routes in your web.php) |
| 206 | + 'setup_password_recovery_routes' => true, |
| 207 | + |
| 208 | + /* |
| 209 | + |-------------------------------------------------------------------------- |
| 210 | + | Security |
| 211 | + |-------------------------------------------------------------------------- |
| 212 | + */ |
| 213 | + |
| 214 | + // Backpack will prevent visitors from requesting password recovery too many times |
| 215 | + // for a certain email, to make sure they cannot be spammed that way. |
| 216 | + // How many seconds should a visitor wait, after they've requested a |
| 217 | + // password reset, before they can try again for the same email? |
| 218 | + 'password_recovery_throttle_notifications' => 600, // time in seconds |
| 219 | + |
| 220 | + // Backpack will prevent an IP from trying to reset the password too many times, |
| 221 | + // so that a malicious actor cannot try too many emails, too see if they have |
| 222 | + // accounts or to increase the AWS/SendGrid/etc bill. |
| 223 | + // |
| 224 | + // How many times in any given time period should the user be allowed to |
| 225 | + // attempt a password reset? Take into account that user might wrongly |
| 226 | + // type an email at first, so at least allow one more try. |
| 227 | + // Defaults to 3,10 - 3 times in 10 minutes. |
| 228 | + 'password_recovery_throttle_access' => '3,10', |
| 229 | + |
208 | 230 | /* |
209 | 231 | |-------------------------------------------------------------------------- |
210 | 232 | | Authentication |
|
0 commit comments