diff --git a/src/AtmAdmin.cpp b/src/AtmAdmin.cpp index 29a2584..387e052 100644 --- a/src/AtmAdmin.cpp +++ b/src/AtmAdmin.cpp @@ -141,11 +141,6 @@ namespace AtmAdmin { pinDigits[i] = (newPin[i] - '0'); } - if (newPin[0] == '0') { - errorReport("The first number cannot be \'0\'"); - return "invalid"; - } - // Checks if anything put into the pin is alphabetic. for (size_t i = 0; i < 4; i++) { if (!isdigit(newPin[i])) {