Update server.php

This commit is contained in:
jakani24
2024-04-04 20:50:47 +02:00
parent 00b8572c07
commit b691e7d12e

View File

@@ -48,12 +48,12 @@ try {
//}
$rpId = 'localhost';
if (filter_input(INPUT_GET, 'rpId')) {
$rpId = filter_input(INPUT_GET, 'rpId', FILTER_VALIDATE_DOMAIN);
if ($rpId === false) {
throw new Exception('invalid relying party ID');
}
}
//if (filter_input(INPUT_GET, 'rpId')) {
// $rpId = filter_input(INPUT_GET, 'rpId', FILTER_VALIDATE_DOMAIN);
// if ($rpId === false) {
// throw new Exception('invalid relying party ID');
// }
//}
// types selected on front end
//$typeUsb = !!filter_input(INPUT_GET, 'type_usb');