i want to redirect
to logout route
when session
hastimeout
in laravel 5.4
i try this in app\exception\handler.php
if ($e instanceof TokenMismatchException) {
return redirect()->route('logout');
}
but it still not working. what can i do
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ugDdEO
via IFTTT
Aucun commentaire:
Enregistrer un commentaire