Update server.php
This commit is contained in:
@@ -48,12 +48,12 @@ try {
|
|||||||
//}
|
//}
|
||||||
|
|
||||||
$rpId = 'localhost';
|
$rpId = 'localhost';
|
||||||
if (filter_input(INPUT_GET, 'rpId')) {
|
//if (filter_input(INPUT_GET, 'rpId')) {
|
||||||
$rpId = filter_input(INPUT_GET, 'rpId', FILTER_VALIDATE_DOMAIN);
|
// $rpId = filter_input(INPUT_GET, 'rpId', FILTER_VALIDATE_DOMAIN);
|
||||||
if ($rpId === false) {
|
// if ($rpId === false) {
|
||||||
throw new Exception('invalid relying party ID');
|
// throw new Exception('invalid relying party ID');
|
||||||
}
|
// }
|
||||||
}
|
//}
|
||||||
|
|
||||||
// types selected on front end
|
// types selected on front end
|
||||||
//$typeUsb = !!filter_input(INPUT_GET, 'type_usb');
|
//$typeUsb = !!filter_input(INPUT_GET, 'type_usb');
|
||||||
|
|||||||
Reference in New Issue
Block a user