chore : add variable description to AllowedPINAttempts

This commit is contained in:
Carlosokumu 2025-01-08 14:13:14 +03:00
parent c359d99075
commit ed6651697a
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -6,10 +6,13 @@ import (
"golang.org/x/crypto/bcrypt"
)
// Define the regex pattern as a constant
const (
pinPattern = `^\d{4}$`
// Define the regex pattern as a constant
pinPattern = `^\d{4}$`
//Allowed incorrect PIN attempts
AllowedPINAttempts = uint8(3)
)
// checks whether the given input is a 4 digit number