Quick fix for ResetPasswordController that doesn't create password_resets records
MODIFY
app/Http/Controllers/ResetPasswordController.php
app/Http/Controllers/ResetPasswordController.php
@@ -22,7 +22,9 @@ class ResetPasswordController extends Controller {
'password' => 'required_without:email|confirmed'
]);
- if ($email = $request->input('email') && !$request->has('token')) {
+ if ($request->input('email') && !$request->has('token')) {
+ $email = $request->input('email');
+
$existingUser = User::where('email', $email)->first();
if ($existingUser) {

Quick fix for ResetPasswordController that doesn't create password_resets records