Replace PIN input validation with regex #60

Open
opened 2024-09-16 16:13:08 +02:00 by lash · 0 comments
Owner

E.g. in menuhandler func (h *Handlers) Authorize(ctx context.Context, sym string, input []byte) ...

The input check should be regex instead. The regex should be globally settable. Can by default be ^\d\d\d\d$ to get same behavior as currently.

E.g. in menuhandler `func (h *Handlers) Authorize(ctx context.Context, sym string, input []byte) ...` The input check should be regex instead. The regex should be globally settable. Can by default be `^\d\d\d\d$` to get same behavior as currently.
lash added the
Priority
Low
refactor
easy
smell
labels 2024-09-16 16:14:02 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: urdt/ussd#60
No description provided.