Skip to content
Advertisement

How to considered soft delete in laravel inbuilt reset password

I want to apply soft delete in laravel5.4 inbuilt reset password. Due to duplicate email of soft delete deleted email password is change but not the correct one. I am getting stuck to where apply deleted should be null instead of email checking only. that’s why it fetches the deleted record insted of correct one. My reset password controller is given below. Please check my reset controller & suggest any solution please.

JavaScript

Please help thanks in advance.I am new to laravel please help.

Advertisement

Answer

Just need to pass the correct user to resetPassword() function like

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement