File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
use Illuminate \Support \Facades \Route ;
4
4
5
- Route::view ('login ' , 'nova-webauthn::login ' );
5
+ Route::view ('/ ' , 'nova-webauthn::login ' );
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ protected function routes(): void
49
49
return ;
50
50
}
51
51
52
- $ prefix = trim (config ('nova.path ' ), '/ ' ) . '/webauthn ' ;
52
+ $ prefix = trim (config ('nova.path ' ), '/ ' ) . '/authn ' ;
53
53
54
54
Route::middleware (['nova ' ])->prefix ($ prefix )
55
55
->group (__DIR__ . '/../routes/web.php ' );
@@ -67,7 +67,7 @@ protected function config(): void
67
67
config ([
68
68
'auth.providers.users.driver ' => 'eloquent-webauthn ' ,
69
69
'auth.providers.users.password_fallback ' => true ,
70
- 'nova.routes.login ' => $ path . '/webauthn/login ' ,
70
+ 'nova.routes.login ' => $ path . '/authn ' ,
71
71
]);
72
72
}
73
73
}
You can’t perform that action at this time.
0 commit comments