mirror of
https://github.com/getnamingo/registry.git
synced 2025-08-04 16:51:29 +02:00
Improvements of the 2FA validation code UI
This commit is contained in:
parent
b46ff2286c
commit
6515bcda80
5 changed files with 162 additions and 29 deletions
|
@ -26,6 +26,7 @@ $app->get('/', HomeController::class .':index')->setName('index');
|
|||
|
||||
$app->group('', function ($route) {
|
||||
$route->get('/login', AuthController::class . ':createLogin')->setName('login');
|
||||
$route->map(['GET', 'POST'], '/login/verify', AuthController::class . ':verify2FA')->setName('verify2FA');
|
||||
$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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue