aboutsummaryrefslogtreecommitdiff
path: root/NitrokeyManager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'NitrokeyManager.cc')
-rw-r--r--NitrokeyManager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc
index 0fb4c57..bd4b705 100644
--- a/NitrokeyManager.cc
+++ b/NitrokeyManager.cc
@@ -120,7 +120,7 @@ namespace nitrokey{
return false;
}
- enum totp_config{digits8=0, enter, tokenID};
+ enum totp_config{digits8=0, enter=1, tokenID=2};
bool NitrokeyManager::write_TOTP_slot(uint8_t slot_number, const char *slot_name, const char *secret,
uint16_t time_window, bool use_8_digits, const char *temporary_password) {