forked from urdt/ussd
add value for allowed number of PIN attempts
This commit is contained in:
parent
b37f2a0a11
commit
90df0eefc3
@ -9,6 +9,7 @@ import (
|
|||||||
// Define the regex pattern as a constant
|
// Define the regex pattern as a constant
|
||||||
const (
|
const (
|
||||||
pinPattern = `^\d{4}$`
|
pinPattern = `^\d{4}$`
|
||||||
|
AllowedPINAttempts = uint8(3)
|
||||||
)
|
)
|
||||||
|
|
||||||
// checks whether the given input is a 4 digit number
|
// checks whether the given input is a 4 digit number
|
||||||
|
Loading…
Reference in New Issue
Block a user