]> BookStack Code Mirror - bookstack/commit
Routes: Added throttling to a range of auth-related endpoints
authorDan Brown <redacted>
Mon, 20 May 2024 13:00:58 +0000 (14:00 +0100)
committerDan Brown <redacted>
Mon, 20 May 2024 13:00:58 +0000 (14:00 +0100)
commit69af9e0dbdefd8c6c951e8afbe2bba141d454beb
tree94649174d6c80c788e1a25a995303962541f7ccf
parent72c5141decb1d83910a81fd0c4bf77f4a463ce5c
Routes: Added throttling to a range of auth-related endpoints

Some already throttled in some means, but this adds a simple ip-based
non-request-specific layer to many endpoints.
Related to #4993
app/Access/Controllers/ForgotPasswordController.php
app/Access/Controllers/ResetPasswordController.php
app/App/Providers/RouteServiceProvider.php
routes/web.php
tests/Auth/RegistrationTest.php
tests/Auth/ResetPasswordTest.php
tests/Auth/UserInviteTest.php