Raise exception on CtapError during bio enrollment.

This commit is contained in:
Elias Bonnici 2024-01-15 09:04:17 +01:00
parent b9e4070ae0
commit 19fb45b4ae
No known key found for this signature in database
GPG Key ID: 5EAC28EA3F980CCF

View File

@ -362,6 +362,7 @@ class FingerprintsNode(RpcNode):
except CtapError as e:
if e.code == CtapError.ERR.USER_ACTION_TIMEOUT:
raise InactivityException()
raise
if name:
self.bio.set_name(template_id, name)
self._templates[template_id] = name