modifié : SRC/app/Http/Controllers/ImageController.php
modifié : SRC/app/Http/Controllers/LoginController.php
This commit is contained in:
parent
a9ea117938
commit
9fd3d627f8
@ -47,8 +47,8 @@ class ImageController extends Controller {
|
||||
|
||||
$r = $img->response('jpg');
|
||||
|
||||
//Met en cache l'image avec son header pendant 2 semaine sur le serveur
|
||||
Cache::add($key, $r, 10080*2 );
|
||||
//Met en cache l'image avec son header pendant 6 mois sur le serveur
|
||||
Cache::add($key, $r, 241920);
|
||||
}
|
||||
return $r;
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ class LoginController extends Controller {
|
||||
{
|
||||
case Password::INVALID_USER:
|
||||
return redirect('forgotten')->withErrors("Mail Invalide !")->withInput();
|
||||
case Password::REMINDER_SENT:
|
||||
default :
|
||||
return redirect('forgotten')->withStatus("Mail de réinitialisation envoyée !")->withInput();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user