modifié : SRC/app/Http/Controllers/ImageController.php

modifié :         SRC/app/Http/Controllers/LoginController.php
This commit is contained in:
sidya82 2015-03-18 09:09:38 +01:00
parent a9ea117938
commit 9fd3d627f8
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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();
}
}