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');
|
$r = $img->response('jpg');
|
||||||
|
|
||||||
//Met en cache l'image avec son header pendant 2 semaine sur le serveur
|
//Met en cache l'image avec son header pendant 6 mois sur le serveur
|
||||||
Cache::add($key, $r, 10080*2 );
|
Cache::add($key, $r, 241920);
|
||||||
}
|
}
|
||||||
return $r;
|
return $r;
|
||||||
}
|
}
|
||||||
|
@ -79,7 +79,7 @@ class LoginController extends Controller {
|
|||||||
{
|
{
|
||||||
case Password::INVALID_USER:
|
case Password::INVALID_USER:
|
||||||
return redirect('forgotten')->withErrors("Mail Invalide !")->withInput();
|
return redirect('forgotten')->withErrors("Mail Invalide !")->withInput();
|
||||||
case Password::REMINDER_SENT:
|
default :
|
||||||
return redirect('forgotten')->withStatus("Mail de réinitialisation envoyée !")->withInput();
|
return redirect('forgotten')->withStatus("Mail de réinitialisation envoyée !")->withInput();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user