Support the ongoing development of →
Authentication Requests
Last updated 1 year ago.

Laravel ships with a set of filters, modify the auth filter to redirect to users/login instead of login:

Route::filter('auth', function()
	if (Auth::guest()) return Redirect::guest('users/login');

Line 36 of app/filters.php.

Here is more info on filters:

Last updated 1 year ago.

ahh thats where it is :)


Last updated 1 year ago.

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?


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.

© 2023 - All rights reserved.