Where are the log-in routes in the Laravel?

Asked

Viewed 248 times

1

I registered some authenticated routes (I already have the authentication pages created with the make:auth) and they work right, every time I try to access these routes in an anonymous tab it falls on the address

http://localhost/siteBaldesbr/public/login 

my doubt is: where are configured the authentication routes that define the destination of pages such as"/login", "Register" among others?

1 answer

2

Inside your Routes/web.php file has a "Auth::Routes();", that’s where the routes are, it’s auth’s default

  • got it...but how do I edit the routes? in which file are the details of Auth::Routes(); ?

  • Ai Voce needs to rewrite them, create routes with the same names and so they will be overwritten

Browser other questions tagged

You are not signed in. Login or sign up in order to post.