modified: SRC/app/Http/Controllers/LoginController.php
modified: SRC/resources/views/auth/login.blade.php
This commit is contained in:
parent
6aafd0ee5c
commit
732c1d19f9
@ -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é !");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user