Added login via WebAuth; testing needed

This commit is contained in:
Pinga 2023-12-12 17:52:24 +02:00
parent 63607618e2
commit 68d54f7592
4 changed files with 255 additions and 4 deletions

View file

@ -201,6 +201,12 @@ $csrfMiddleware = function ($request, $handler) use ($container) {
if ($path && $path === '/webauthn/register/verify') {
return $handler->handle($request);
}
if ($path && $path === '/webauthn/login/challenge') {
return $handler->handle($request);
}
if ($path && $path === '/webauthn/login/verify') {
return $handler->handle($request);
}
// If not skipped, apply the CSRF Guard
return $csrf->process($request, $handler);