mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 08:58:36 -07:00
nfc: Don't try to auth NTAG on read if we already authed
This commit is contained in:
@@ -758,7 +758,7 @@ bool mf_ul_read_card(
|
|||||||
data->curr_authlim = 0;
|
data->curr_authlim = 0;
|
||||||
|
|
||||||
if(reader->pages_read == reader->pages_to_read &&
|
if(reader->pages_read == reader->pages_to_read &&
|
||||||
reader->supported_features & MfUltralightSupportAuth) {
|
reader->supported_features & MfUltralightSupportAuth && !data->auth_success) {
|
||||||
MfUltralightConfigPages* config = mf_ultralight_get_config_pages(data);
|
MfUltralightConfigPages* config = mf_ultralight_get_config_pages(data);
|
||||||
if(config->access.authlim == 0) {
|
if(config->access.authlim == 0) {
|
||||||
// Attempt to auth with default PWD
|
// Attempt to auth with default PWD
|
||||||
|
|||||||
Reference in New Issue
Block a user