changes operation touch behaviour
This commit is contained in:
@@ -345,7 +345,7 @@ where
|
|||||||
if let Some(auth_param) = &pin_uv_auth_param {
|
if let Some(auth_param) = &pin_uv_auth_param {
|
||||||
// This case was added in FIDO 2.1.
|
// This case was added in FIDO 2.1.
|
||||||
if auth_param.is_empty() {
|
if auth_param.is_empty() {
|
||||||
let _ = (self.check_user_presence)(cid);
|
(self.check_user_presence)(cid)?;
|
||||||
if self.persistent_store.pin_hash()?.is_none() {
|
if self.persistent_store.pin_hash()?.is_none() {
|
||||||
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_NOT_SET);
|
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_NOT_SET);
|
||||||
} else {
|
} else {
|
||||||
@@ -549,7 +549,7 @@ where
|
|||||||
if let Some(auth_param) = &pin_uv_auth_param {
|
if let Some(auth_param) = &pin_uv_auth_param {
|
||||||
// This case was added in FIDO 2.1.
|
// This case was added in FIDO 2.1.
|
||||||
if auth_param.is_empty() {
|
if auth_param.is_empty() {
|
||||||
let _ = (self.check_user_presence)(cid);
|
(self.check_user_presence)(cid)?;
|
||||||
if self.persistent_store.pin_hash()?.is_none() {
|
if self.persistent_store.pin_hash()?.is_none() {
|
||||||
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_NOT_SET);
|
return Err(Ctap2StatusCode::CTAP2_ERR_PIN_NOT_SET);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user