add value for allowed number of PIN attempts

This commit is contained in:
Carlosokumu 2025-01-06 22:53:59 +03:00
parent b37f2a0a11
commit 90df0eefc3
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -8,7 +8,8 @@ import (
// Define the regex pattern as a constant
const (
pinPattern = `^\d{4}$`
pinPattern = `^\d{4}$`
AllowedPINAttempts = uint8(3)
)
// checks whether the given input is a 4 digit number