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:


//add this code to the register method

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

Hvordan pumpe hele kroppen hjemme
Skolene åpner for alle elever fra 11. mai

Kommentarer 1

Besøkende - JB on torsdag 24. september 2020 12:38

Thank you so much

Thank you so much
Eksisterende bruker? Log inn her
torsdag 07. juli 2022