mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-01 23:31:50 +02:00
Further preparation for 2FA and WebAuthn
This commit is contained in:
parent
95e47cd9a6
commit
e7ddc2e997
4 changed files with 87 additions and 2 deletions
|
@ -83,6 +83,9 @@ $app->group('', function ($route) {
|
|||
$route->get('/support/media', SupportController::class .':mediakit')->setName('mediakit');
|
||||
|
||||
$route->get('/profile', ProfileController::class .':profile')->setName('profile');
|
||||
$route->get('/webauthn/register/challenge', ProfileController::class . ':getRegistrationChallenge')->setName('webauthn.register.challenge');
|
||||
$route->post('/webauthn/register/verify', ProfileController::class . ':verifyRegistration')->setName('webauthn.register.verify');
|
||||
|
||||
$route->get('/mode', HomeController::class .':mode')->setName('mode');
|
||||
$route->get('/lang', HomeController::class .':lang')->setName('lang');
|
||||
$route->get('/avatar', HomeController::class .':avatar')->setName('avatar');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue