From 732c1d19f9aee68678cde4391fdff673e3017ec3 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Thu, 19 Feb 2015 12:40:18 +0100 Subject: [PATCH] modified: SRC/app/Http/Controllers/LoginController.php modified: SRC/resources/views/auth/login.blade.php --- SRC/app/Http/Controllers/LoginController.php | 2 +- SRC/resources/views/auth/login.blade.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SRC/app/Http/Controllers/LoginController.php b/SRC/app/Http/Controllers/LoginController.php index 6fcc2ce..8983fb6 100755 --- a/SRC/app/Http/Controllers/LoginController.php +++ b/SRC/app/Http/Controllers/LoginController.php @@ -101,7 +101,7 @@ class LoginController extends Controller { case Password::INVALID_USER: return Redirect::back()->withErrors("Utilsateur invalide")->withInput(); case Password::PASSWORD_RESET: - return Redirect::to('/login'); + return Redirect::to('/login')->withStatus("Mail de réinitialisaté !"); } } diff --git a/SRC/resources/views/auth/login.blade.php b/SRC/resources/views/auth/login.blade.php index 167b84c..9e4f9f4 100755 --- a/SRC/resources/views/auth/login.blade.php +++ b/SRC/resources/views/auth/login.blade.php @@ -7,6 +7,11 @@
Login
+ @if (session('status')) +
+ {{ session('status') }} +
+ @endif @if (count($errors) > 0)
Oouups! Il y a un problème avec votre saisie.