mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
core/webauthn: Claim that PIN is set even when it's not, because login.live.com shows an error, but doesn't instruct the user to set a PIN.
This commit is contained in:
parent
5e99058832
commit
cf6949332f
@ -1599,7 +1599,7 @@ def cbor_get_info(req: Cmd) -> Cmd:
|
|||||||
_GETINFO_RESP_OPTIONS: {
|
_GETINFO_RESP_OPTIONS: {
|
||||||
"rk": _ALLOW_RESIDENT_CREDENTIALS,
|
"rk": _ALLOW_RESIDENT_CREDENTIALS,
|
||||||
"up": True,
|
"up": True,
|
||||||
"uv": config.has_pin(),
|
"uv": True,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return Cmd(req.cid, _CMD_CBOR, bytes([_ERR_NONE]) + cbor.encode(response_data))
|
return Cmd(req.cid, _CMD_CBOR, bytes([_ERR_NONE]) + cbor.encode(response_data))
|
||||||
|
Loading…
Reference in New Issue
Block a user