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 Jun 26, 2024
1 parent ddcf0c8 commit 0b23695
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions app/Providers/NovaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ protected function routes()
Features::twoFactorAuthentication(['confirm' => true, 'confirmPassword' => true]),
])
->withAuthenticationRoutes()
// ->withoutAuthenticationRoutes()
->withPasswordResetRoutes()
->register(fortify: false);
}
Expand Down
5 changes: 0 additions & 5 deletions app/Providers/NovaWithoutAuthenticationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ class NovaWithoutAuthenticationServiceProvider extends NovaServiceProvider
*/
protected function routes()
{
config([
'nova.routes.login' => '/login',
'nova.routes.logout' => '/logout',
]);

Nova::routes()
->withoutAuthenticationRoutes()
->withPasswordResetRoutes()
Expand Down

0 comments on commit 0b23695

Please sign in to comment.