account-pin-block-v2 #256
| @ -9,6 +9,7 @@ import ( | ||||
| // Define the regex pattern as a constant
 | ||||
| const ( | ||||
| 	pinPattern         = `^\d{4}$` | ||||
| 	AllowedPINAttempts = uint8(3) | ||||
| ) | ||||
| 
 | ||||
| // checks whether the given input is a 4 digit number
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user