diff --git a/app/Providers/NovaServiceProvider.php b/app/Providers/NovaServiceProvider.php index 328915a1..4c2fc383 100644 --- a/app/Providers/NovaServiceProvider.php +++ b/app/Providers/NovaServiceProvider.php @@ -242,6 +242,7 @@ protected function routes() Features::twoFactorAuthentication(['confirm' => true, 'confirmPassword' => true]), ]) ->withAuthenticationRoutes() + // ->withoutAuthenticationRoutes() ->withPasswordResetRoutes() ->register(fortify: false); } diff --git a/app/Providers/NovaWithoutAuthenticationServiceProvider.php b/app/Providers/NovaWithoutAuthenticationServiceProvider.php index 2e592cbd..b7775a39 100644 --- a/app/Providers/NovaWithoutAuthenticationServiceProvider.php +++ b/app/Providers/NovaWithoutAuthenticationServiceProvider.php @@ -13,11 +13,6 @@ class NovaWithoutAuthenticationServiceProvider extends NovaServiceProvider */ protected function routes() { - config([ - 'nova.routes.login' => '/login', - 'nova.routes.logout' => '/logout', - ]); - Nova::routes() ->withoutAuthenticationRoutes() ->withPasswordResetRoutes()