-
Description:After using the Upgrade guide to upgrade to Nova 5.0, all Fortify auth routes are registered/taken over by Nova and not my app. After running Detailed steps to reproduce the issue on a fresh Nova installation:I upgraded my Nova installation by following the steps. One steps says to upgrade /**
* Register any application services.
*/
public function register(): void
{
+ parent::register();
//
} This calls Thing is I already had this in /**
* Register the Nova routes.
*/
protected function routes(): void
{
Nova::routes()
->withAuthenticationRoutes()
->withPasswordResetRoutes()
->register();
} where /**
* Register the Nova routes.
*
* @return $this
*/
public function register()
{
Nova::fortify();
return $this;
} So, The fix for me was not calling |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
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);
} |
Beta Was this translation helpful? Give feedback.
routes()
method callsNova::routes()
whileregister()
method calledfortify()
method and thereforeNova::fortify()
To solve this you can override the available undocumented method: