fix password reset handle result code
This commit is contained in:
parent
b19da42155
commit
775695412b
1 changed files with 6 additions and 2 deletions
|
|
@ -342,9 +342,13 @@ class CustomerController extends Controller
|
|||
case 107:
|
||||
return back()
|
||||
->withErrors("Veuillez vérifier que vous avez correctement rempli les champs obligatoires.");
|
||||
case 108 || 109:
|
||||
case 108:
|
||||
case 109:
|
||||
return back()
|
||||
->withErrors("Changement impossible, compte inexistant.");
|
||||
->withErrors(trans('Changement impossible, compte inexistant.'));
|
||||
case 123:
|
||||
return back()
|
||||
->withErrors(trans('Vous ne pouvez utilisez un de vos anciens mots de passe'));
|
||||
default:
|
||||
return back()
|
||||
->withErrors("Une erreur est survenue, merci de réessayer ultérieurement.");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue