mirror of
https://github.com/getnamingo/registry.git
synced 2025-07-24 03:20:33 +02:00
Some more work on 2FA
This commit is contained in:
parent
2b6bdc71e9
commit
a8be1a3c30
3 changed files with 86 additions and 8 deletions
|
@ -81,8 +81,9 @@ $app->group('', function ($route) {
|
|||
$route->map(['GET', 'POST'], '/support/new', SupportController::class .':newticket')->setName('newticket');
|
||||
$route->get('/support/docs', SupportController::class .':docs')->setName('docs');
|
||||
$route->get('/support/media', SupportController::class .':mediakit')->setName('mediakit');
|
||||
|
||||
|
||||
$route->get('/profile', ProfileController::class .':profile')->setName('profile');
|
||||
$route->post('/profile/2fa', ProfileController::class .':activate2fa')->setName('activate2fa');
|
||||
$route->get('/webauthn/register/challenge', ProfileController::class . ':getRegistrationChallenge')->setName('webauthn.register.challenge');
|
||||
$route->post('/webauthn/register/verify', ProfileController::class . ':verifyRegistration')->setName('webauthn.register.verify');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue