From 2666ec7af46938933bea59b92ac7f65e5e7b7b42 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Wed, 18 Mar 2015 09:44:22 +0100 Subject: [PATCH] lol --- SRC/app/Http/Controllers/LoginController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SRC/app/Http/Controllers/LoginController.php b/SRC/app/Http/Controllers/LoginController.php index 3fa6868..6148fcd 100755 --- a/SRC/app/Http/Controllers/LoginController.php +++ b/SRC/app/Http/Controllers/LoginController.php @@ -106,7 +106,7 @@ class LoginController extends Controller { return Redirect::back()->withErrors("Clé invalide")->withInput(); case Password::INVALID_USER: return Redirect::back()->withErrors("Utilsateur invalide")->withInput(); - case Password::PASSWORD_RESET: + default : return Redirect::to('/login')->withStatus("Mot de passe réinitialisaté avec succès !"); } }