final fixed
This commit is contained in:
parent
9657a99774
commit
ced3907595
|
|
@ -61,7 +61,7 @@ class ForgotPasswordController extends Controller
|
|||
return back()
|
||||
->withInput(request(['email']))
|
||||
->withErrors([
|
||||
'email' => trans($response),
|
||||
'email' => trans('customer::app.forget_password.email_not_exist'),
|
||||
]);
|
||||
} catch (\Swift_RfcComplianceException $e) {
|
||||
session()->flash('success', trans('customer::app.forget_password.reset_link_sent'));
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ return [
|
|||
'empty' => 'You have not reviewed any of product yet'
|
||||
],
|
||||
'forget_password' => [
|
||||
'reset_link_sent' => 'We have e-mailed your reset password link.'
|
||||
'reset_link_sent' => 'We have e-mailed your reset password link.',
|
||||
'email_not_exist' => 'Email Does not Exist'
|
||||
]
|
||||
];
|
||||
|
|
@ -65,7 +65,7 @@ class ForgetPasswordController extends Controller
|
|||
);
|
||||
|
||||
if ($response == Password::RESET_LINK_SENT) {
|
||||
session()->flash('success', trans($response));
|
||||
session()->flash('success', trans('customer::app.forget_password.reset_link_sent'));
|
||||
|
||||
return back();
|
||||
}
|
||||
|
|
@ -73,7 +73,7 @@ class ForgetPasswordController extends Controller
|
|||
return back()
|
||||
->withInput(request(['email']))
|
||||
->withErrors([
|
||||
'email' => trans($response),
|
||||
'email' => trans('customer::app.forget_password.email_not_exist'),
|
||||
]);
|
||||
} catch(\Exception $e) {
|
||||
session()->flash('error', trans($e->getMessage()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue