From f1b2327b8a6cfd05d29e28d359ee875ce7e317d2 Mon Sep 17 00:00:00 2001 From: Yukai Li Date: Fri, 7 Oct 2022 00:58:05 -0600 Subject: [PATCH] nfc: Be explicit about using manual auth method when using auto unlock --- .../main/nfc/scenes/nfc_scene_mf_ultralight_unlock_auto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_unlock_auto.c b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_unlock_auto.c index eafbacc72..0369afcbd 100644 --- a/applications/main/nfc/scenes/nfc_scene_mf_ultralight_unlock_auto.c +++ b/applications/main/nfc/scenes/nfc_scene_mf_ultralight_unlock_auto.c @@ -6,6 +6,7 @@ bool nfc_scene_mf_ultralight_unlock_auto_worker_callback(NfcWorkerEvent event, v if(event == NfcWorkerEventMfUltralightPwdAuth) { MfUltralightAuth* auth = nfc_worker_get_event_data(nfc->worker); memcpy(nfc->byte_input_store, auth->pwd.raw, sizeof(auth->pwd.raw)); + nfc->dev->dev_data.mf_ul_data.auth_method = MfUltralightAuthMethodManual; } view_dispatcher_send_custom_event(nfc->view_dispatcher, event);