Hello Mian Saleem, thanks for your observation additional the line of code that mentioned Borhan Chowdhury we will have change the next line too.

$passwordReset = PasswordReset::where('token', $request->token)->first();

to

$passwordReset = PasswordReset::where([
['token', $request->token],
['email', $request->email]
])->first();

💾 Full Stack Web Developer 🛵 Founder at #Tráeme 💻 Freelancer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store