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.