aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NK_C_API.cc')
-rw-r--r--NK_C_API.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/NK_C_API.cc b/NK_C_API.cc
index e6151fc..81a18b5 100644
--- a/NK_C_API.cc
+++ b/NK_C_API.cc
@@ -68,11 +68,10 @@ extern uint8_t NK_get_last_command_status(){
return _copy;
}
-extern int NK_login(const char *admin_pin, const char *temporary_password, const char *device_model) {
+extern int NK_login(const char *device_model) {
auto m = NitrokeyManager::instance();
try {
m->connect(device_model);
- m->first_authenticate(admin_pin, temporary_password);
NK_last_command_status = 0;
}
catch (CommandFailedException & commandFailedException){