diff options
| -rw-r--r-- | NitrokeyManager.cc | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index e2dfa9d..81c1888 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -142,11 +142,12 @@ namespace nitrokey{          strcpy((char *) (auth.temporary_password), temporary_password);          auth.crc_to_authorize = WriteToTOTPSlot::CommandTransaction::getCRC(payload);          Authorize::CommandTransaction::run(*device, auth); -        auto auth_successful = device->last_command_sucessfull(); +//        auto auth_successful = device->last_command_sucessfull();          auto resp = WriteToTOTPSlot::CommandTransaction::run(*device, payload); -        auto write_successful = device->last_command_sucessfull(); -        return auth_successful && write_successful; +//        auto write_successful = device->last_command_sucessfull(); +//        return auth_successful && write_successful; //left to show alternative approach +        return true;      }      const char * NitrokeyManager::get_totp_slot_name(uint8_t slot_number) { | 
