Support the ongoing development of Laravel.io →
Authentication Configuration Forms
Last updated 3 months ago.
0

When working with routes double check if those are cached. If so you'll see a routes.php file in bootstrap/cache folder.

After logout your controller redirects the user to the route named 'login'. This is probably contained in the routes/web.php. You must not give the same name to multiple routes. Make a route named admin_login. From the App\Http\Controllers\Admin\Auth\LogoutController.php make sure you redirect to it. Have a look at the extended class to see what method you have to override to change the route.

0

Sign in to participate in this thread!

Cloudways

Your banner here too?

trifek trifek lukpeta Joined 12 Jun 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.