Closed cshipley closed 9 years ago
it looks like you haven't changed your PasswordController that comes out of the box with Laravel. You can override as many of the methods inherited from the ResetsPasswords Trait for your needs but the key one is to override the postEmail. My implementation is pretty simple so I actually removed the ResetsPasswords trait as I didn't need it so your implementation might look slightly different. Basically my postEmail looks like this:
/**
* Request an email password reset
*
* @return \Illuminate\Routing\Redirector|\Illuminate\Http\RedirectResponse
*/
public function postEmail(Request $request)
{
$this->validate($request, ['email' => 'required|email']);
ParseUser::requestPasswordReset(Input::get('email'));
// Handle the redirecting of the customer any way you like or do additional logic here
return redirect()->back()->with('status', 'Please check your email for instructions on resetting your password');
}
Note: I don't use try/catch as I have a catch all ParseException handler. It just made things a bit neater!
Thanks!
Is there support in LaraParse for the 'Forgot your password' link in the login screen, or do I have something configured incorrectly?
PDOException in Connector.php line 47: could not find driver