uicabpatweyler
4 months ago

Verify and obtain user data at application level

Posted 4 months ago by uicabpatweyler

In the application, once the user has been identified (login) it is necessary to obtain configuration preferences from a table, this data the user chooses at some time and they are saved in a table. Before accessing any route, you need to check that data, if those preferences do not exist, the user is redirected so that you can choose them, if the user already has their stored preferences, the application continues normally. How can I do that with Laravel? Is it possible through a Middleware?

I appreciate your help and suggestions.

Please sign in or create an account to participate in this conversation.