Skip to content

Upgrade guide to 5.0 misleading, causing auth routes to be registered by Nova. #6619

Answered by crynobone
studnitz asked this question in Q&A
Discussion options

You must be logged in to vote

routes() method calls Nova::routes() while register() method called fortify() method and therefore Nova::fortify()

To solve this you can override the available undocumented method:

/**
 * Register the configurations for Laravel Fortify.
 */
protected function fortify(): void
{
    Nova::fortify()
        ->register(routes: true);
}

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@crynobone
Comment options

@studnitz
Comment options

@crynobone
Comment options

@Radiergummi
Comment options

@crynobone
Comment options

Answer selected by studnitz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #6618 on December 18, 2024 11:02.