Begin work on WebAuthn

This commit is contained in:
Bradley Schofield committed 2024-06-17 15:27:42 +09:00
1 parent f91a8a9135
commit a86ba4df47
14 files changed
+1669 -97

No files matched your search

+6
View File
@@ -99,6 +99,12 @@ App::init()
}
break;
case 'webauthn':
if (($auths['webauthn'] ?? true) === false) {
throw new Exception(Exception::USER_AUTH_METHOD_UNSUPPORTED, 'Webauthn authentication is disabled for this project');
}
break;
default:
throw new Exception(Exception::USER_AUTH_METHOD_UNSUPPORTED, 'Unsupported authentication route');
}