I have a question about middleware
What I want to do:
That a logged in user can not go to any route if he does not click on a box that appears on the screen. I do not know if this can be done with the middleware since with it I control the restriction of routes according to the role that the user has.
Would there be any way to do this? Any ideas?
Greetings.