From 1eb3c410bfaedc675da6256276d2481b13a8eef2 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 8 Aug 2016 17:01:15 +0200 Subject: Clear TODOs Signed-off-by: Szczepan Zalega --- NitrokeyManager.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index e062b79..a230721 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -98,7 +98,6 @@ namespace nitrokey{ auto gh = get_payload(); gh.slot_number = get_internal_slot_number_for_hotp(slot_number); - //TODO handle user authorization requests (taken from config) if(user_temporary_password != nullptr && strlen(user_temporary_password)!=0){ //FIXME use string instead of strlen auth_package(gh, user_temporary_password, device); } @@ -123,7 +122,7 @@ namespace nitrokey{ gt.challenge = challenge; gt.last_interval = last_interval; gt.last_totp_time = last_totp_time; - //TODO handle user authorization requests (taken from config) + if(user_temporary_password != nullptr && strlen(user_temporary_password)!=0){ //FIXME use string instead of strlen auth_package(gt, user_temporary_password, device); } -- cgit v1.2.3