Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jul 8, 2024
1 parent 92c7807 commit cac54c9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions app/Providers/NovaWithoutAuthenticationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@

class NovaWithoutAuthenticationServiceProvider extends NovaServiceProvider
{
/**
* Register the Fortify configurations.
*
* @return void
*/
protected function fortify()
{
Nova::fortify()
->register(routes: false);
}

/**
* Register the Nova routes.
*
Expand All @@ -15,7 +26,6 @@ protected function routes()
{
Nova::routes()
->withoutAuthenticationRoutes()
->withPasswordResetRoutes()
->register(fortify: false);
->withPasswordResetRoutes();
}
}

0 comments on commit cac54c9

Please sign in to comment.