Hesto/multi-auth

Always redirecting to /home if logged in

Opened this issue · 2 comments

Hello

my problem is that, when i'm logged in, i always get redirected to the /home

eg. i want to open /company/jobs/ and i get redirected to /company/home.
when i'm not logged in i get redirected to the /company/login the right way.

anyone got an idea?

Thanks!

Remove auth:admin middleware from mapAdminRoutes function in app\Providers\RouteServiceProvider.php

You may find the redirect URL on LoginController.php