mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-04 00:31:50 +02:00
Added login via WebAuth; testing needed
This commit is contained in:
parent
63607618e2
commit
68d54f7592
4 changed files with 255 additions and 4 deletions
|
@ -26,6 +26,8 @@ $app->get('/', HomeController::class .':index')->setName('index');
|
|||
$app->group('', function ($route) {
|
||||
$route->get('/login', AuthController::class . ':createLogin')->setName('login');
|
||||
$route->post('/login', AuthController::class . ':login');
|
||||
$route->post('/webauthn/login/challenge', AuthController::class . ':getLoginChallenge')->setName('webauthn.login.challenge');
|
||||
$route->post('/webauthn/login/verify', AuthController::class . ':verifyLogin')->setName('webauthn.login.verify');
|
||||
$route->get('/forgot-password', PasswordController::class . ':createForgotPassword')->setName('forgot.password');
|
||||
$route->post('/forgot-password', PasswordController::class . ':forgotPassword');
|
||||
$route->get('/reset-password', PasswordController::class.':resetPassword')->setName('reset.password');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue