prevent alert if nothing is returned on modal form sent.
This commit is contained in:
@@ -371,11 +371,11 @@ class WebAuthn {
|
||||
}
|
||||
|
||||
// Android-SafetyNet: if required, check for Compatibility Testing Suite (CTS).
|
||||
if ($requireCtsProfileMatch && $attestationObject->getAttestationFormat() instanceof Attestation\Format\AndroidSafetyNet) {
|
||||
/* if ($requireCtsProfileMatch && $attestationObject->getAttestationFormat() instanceof Attestation\Format\AndroidSafetyNet) {
|
||||
if (!$attestationObject->getAttestationFormat()->ctsProfileMatch()) {
|
||||
throw new WebAuthnException('invalid ctsProfileMatch: device is not approved as a Google-certified Android device.', WebAuthnException::ANDROID_NOT_TRUSTED);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
// 15. If validation is successful, obtain a list of acceptable trust anchors
|
||||
$rootValid = is_array($this->_caFiles) ? $attestationObject->validateRootCertificate($this->_caFiles) : null;
|
||||
|
||||
Reference in New Issue
Block a user