This commit is contained in:
alexandre-pereira
2015-03-18 15:24:25 +01:00
parent 4c8802f7bb
commit 90ba3ac6af
9 changed files with 23 additions and 52 deletions

View File

@ -52,7 +52,7 @@ class LoginController extends Controller {
{
return redirect()->intended('referent');
}
return redirect('login')->withErrors(['erreur' => 'Mail ou mot de passe incorrect!',]);
return redirect('login')->withErrors(['erreur' => 'Vos identifiants sont incorrects.',]);
}
else
{
@ -78,9 +78,9 @@ class LoginController extends Controller {
switch ($response = Password:: sendResetLink(Input::only('email')))
{
case Password::INVALID_USER:
return redirect('forgotten')->withErrors("Mail Invalide !")->withInput();
return redirect('forgotten')->withErrors("L'adresse email saisie est incorrecte.")->withInput();
default :
return redirect('forgotten')->withStatus("Mail de réinitialisation envoyée !")->withInput();
return redirect('forgotten')->withStatus("Un email vous a été envoyé à votre adresse mail. Il peut se retrouver dans la boite Spam.")->withInput();
}
}
@ -107,7 +107,7 @@ class LoginController extends Controller {
case Password::INVALID_USER:
return Redirect::back()->withErrors("Utilsateur invalide")->withInput();
default :
return Redirect::to('/login')->withStatus("Mot de passe réinitialisaté avec succès !");
return Redirect::to('/login')->withStatus("Votre mot de passe réinitialisé avec succès !");
}
}