From e7fe841654aa7b1c6964b4fc2c51d78b138f10ed Mon Sep 17 00:00:00 2001 From: jakani24 Date: Thu, 4 Apr 2024 20:39:56 +0200 Subject: [PATCH] Update server.php --- src/server/cyberhex-code/test/server.php | 28 ++++++++++++------------ 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/server/cyberhex-code/test/server.php b/src/server/cyberhex-code/test/server.php index 63bc4d9..111b703 100644 --- a/src/server/cyberhex-code/test/server.php +++ b/src/server/cyberhex-code/test/server.php @@ -86,28 +86,28 @@ try { $WebAuthn = new lbuchs\WebAuthn\WebAuthn('WebAuthn Library', $rpId, $formats); // add root certificates to validate new registrations - if (filter_input(INPUT_GET, 'solo')) { + //if (filter_input(INPUT_GET, 'solo')) { $WebAuthn->addRootCertificates('rootCertificates/solo.pem'); - } - if (filter_input(INPUT_GET, 'apple')) { + //} + //if (filter_input(INPUT_GET, 'apple')) { $WebAuthn->addRootCertificates('rootCertificates/apple.pem'); - } - if (filter_input(INPUT_GET, 'yubico')) { + //} + //if (filter_input(INPUT_GET, 'yubico')) { $WebAuthn->addRootCertificates('rootCertificates/yubico.pem'); - } - if (filter_input(INPUT_GET, 'hypersecu')) { + //} + //if (filter_input(INPUT_GET, 'hypersecu')) { $WebAuthn->addRootCertificates('rootCertificates/hypersecu.pem'); - } - if (filter_input(INPUT_GET, 'google')) { + //} + //if (filter_input(INPUT_GET, 'google')) { $WebAuthn->addRootCertificates('rootCertificates/globalSign.pem'); $WebAuthn->addRootCertificates('rootCertificates/googleHardware.pem'); - } - if (filter_input(INPUT_GET, 'microsoft')) { + //} + //if (filter_input(INPUT_GET, 'microsoft')) { $WebAuthn->addRootCertificates('rootCertificates/microsoftTpmCollection.pem'); - } - if (filter_input(INPUT_GET, 'mds')) { + //} + //if (filter_input(INPUT_GET, 'mds')) { $WebAuthn->addRootCertificates('rootCertificates/mds'); - } + //} }