modified: SRC/app/Http/Controllers/LoginController.php

modified:   SRC/resources/views/auth/login.blade.php
This commit is contained in:
sidya82 2015-02-19 12:40:18 +01:00
parent 6aafd0ee5c
commit 732c1d19f9
2 changed files with 6 additions and 1 deletions

View File

@ -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é !");
}
}

View File

@ -7,6 +7,11 @@
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Oouups!</strong> Il y a un problème avec votre saisie.<br><br>