Custom Middleware - Too Many Redirects - Laravel
问题 I want to create a custom middleware that only if the user is authenticated and the email is a certain email to access the /admin page. Although, when I specify my custom route and then a redirect it always says too many redirects.. Short Explanation. User Logs in -> redirected to /home. (Works) If user tries to access /admin and their email isn't like the one specified in the middleware, redirect to /home. If its true, let them in /admin My middleware is called 'admin.verify' The Routes file