Override Laravel Jetstream default URLs
Laravel 8 coms with a first class package called Laravel Jetstream, which provides a perfect starting point for your next Laravel application and includes login, registration, email verification, two-factor authentication, session management, and API.
It is no longer possible to change the URL paths for login, logout and register directly in you web.php as I was before using the Laravel/UI package.
To override the URL paths for login, logout and register you will need to make the following adjustments:
fortifyserviceprovider.php //add this code to the register method Fortify::ignoreRoutes();
After adding the ignoreroutes you could copy and use the routes defined in /vendor/laravel/fortify/routes/routes.php as a starting point to your web.php file
Hva er din reaksjon på denne artikelen?
Om redaktøren
Artikkelen er lagt inn av menneskene bak Altonline
Forumkategorier

Aksjeforum
9 posts

Travforum
1 post

Jakt & fiske
2 posts

Bolig
3 posts

Kropp og helse
4 posts

Nyheter
356 posts

Ferie forum
2 posts

Generelt
10 posts

Politikk
3 posts

Kvinneforum
0 posts
Kommentarer 1
Thank you so much