• Martin Kreichgauer's avatar
    fido: fix a Touch ID assertion regression · 8e5ee16d
    Martin Kreichgauer authored
    CL:1800725 changed the way TouchIdAuthenticator was injected into the
    FidoRequestHandlerBase. As a result, the code in GetAssertionRequestHandler
    that was supposed to set
    |transport_availability_info().has_recognized_mac_touch_id_credential| to
    indicate to the UI whether it may dispatch a request to the Touch ID
    authenticator or not was never executed. As a result, all GetAssertion
    requests to Touch ID resulted in an immediate UI error.
    
    To fix, unify the two code paths for adding authenticators in
    FidoRequestHandlerBase.
    
    Fixed: 1012500
    Change-Id: I3e6a4e84892c1843f2ca2acd947eaf68269089f2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1850799Reviewed-by: default avatarNina Satragno <nsatragno@chromium.org>
    Commit-Queue: Martin Kreichgauer <martinkr@google.com>
    Cr-Commit-Position: refs/heads/master@{#704702}
    8e5ee16d
fido_request_handler_base.cc 12.9 KB