vincent15000's avatar

Error : "Please wait before retrying." while resetting password

Hello,

For users who lost their password, I have a reset password form.

The email is sent, I can click on the button to access the form.

But when I submit the form, I get this message under the email field.

Please wait before retrying.

Why ?

It's the first time I get this message still I dev.

Thanks for your help.

V

0 likes
2 replies
s4muel's avatar
s4muel
Best Answer
Level 50

seems like a throttling, if you reset the password recently, you need to wait a bit

what do you use, fortify? check Authentication Throttling section in https://laravel.com/docs/11.x/fortify#customizing-the-authentication-pipeline which leads you to a config to check the values.

make sure the password form posts to correct controller method (so it is not rate limited for example by login rate limiter or so) or to send another reset link. which might cause the error here: https://github.com/laravel/framework/blob/11.x/src/Illuminate/Auth/Passwords/PasswordBroker.php#L71

1 like
vincent15000's avatar

@s4muel I'm using Fortify.

Hmmm ... you mean that there is a throttle for the reset route ?

I don't find it anywhere in the fortify service provider, but perhaps it's done under the hood by Laravel ?

Suprisingly it happens even if I have reset my password a long time ago.

Please or to participate in this conversation.