mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 09:56:23 +03:00
Remove unused properties from unusable device description
This commit is contained in:
parent
a137b5ab9f
commit
6bc06d3253
@ -110,12 +110,9 @@ class Controller(object):
|
||||
|
||||
if unmatched_otp_mode or unmatched_ccid_mode:
|
||||
return {
|
||||
'fingerprint': desc.fingerprint,
|
||||
'pid': desc.pid,
|
||||
'transports': [
|
||||
t.name for t in TRANSPORT.split(desc.mode.transports)
|
||||
],
|
||||
'type': desc.key_type.value,
|
||||
'usable': False,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user