Fix bug in PIN challenge

Change-Id: Iec9a419882b957c56bac87554ba1469a93b4f3b9
diff --git a/src/challenge-module/challenge-pin.cpp b/src/challenge-module/challenge-pin.cpp
index 2dd4acf..c5825f9 100644
--- a/src/challenge-module/challenge-pin.cpp
+++ b/src/challenge-module/challenge-pin.cpp
@@ -79,6 +79,7 @@
     // check rest attempt times
     if (std::get<2>(parsedSecret) > 1) {
       int restAttemptTimes = std::get<2>(parsedSecret) - 1;
+      request.setStatus(WRONG_CODE);
       request.setChallengeSecrets(generateStoredSecrets(std::get<0>(parsedSecret),
                                                         std::get<1>(parsedSecret),
                                                         restAttemptTimes));