I'm trying to add logic to custom password reset logic in Laravel. I don't want to allow all users to reset password and gain access to the application as some of them are suspended.
I created new rule in Laravel which ensures that, however I don't know where to put it. I would like to validate such users as soon as they enter their email and hit "send me password reset link" So they won't even receive reset password email.
where do I put this logic? I tried to put it in constructor in Http/Controllers/Auth/ResetPasswordController.php
but with no luck.
Thank you
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire