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
Om redaktøren
By accepting you will be accessing a service provided by a third-party external to https://www.altonline.no/
Forumkategorier
- 9 posts
- 0 subcategories
- 1 post
- 0 subcategories
- 2 posts
- 0 subcategories
- 3 posts
- 0 subcategories
- 4 posts
- 0 subcategories
- 356 posts
- 0 subcategories
- 2 posts
- 0 subcategories
- 10 posts
- 0 subcategories
- 3 posts
- 0 subcategories
- 0 posts
- 0 subcategories