dimanche 16 juin 2019

Get route that caused user redirection to login in Laravel

I have a Laravel application that the user needs to be logged in, in order to access some pages in the website.

I need to show the user a custom message on the log-in page based on the pages user trid you access. How can I identify which route caused the redirection to the log-in page in laravel ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire