createReminderCode($user); Mail::to($user) ->send(new ResetPasswordEmail($user, $this->getResetCompleteURL($user, $code))); return redirect()->route('admin.users.index') ->withSuccess(trans('user::messages.users.reset_password_email_sent')); } private function getResetCompleteURL($user, $code) { return route('admin.reset.complete', [$user->email, $code]); } }