account-pin-block-v2 #256

Merged
lash merged 22 commits from account-pin-block-v2 into master 2025-01-08 13:30:39 +01:00
Member

Feature:

Blocks an account when the number of incorrect PIN attempts has exceeded the allowed attempts(3)

Resolves:

#18

Feature: Blocks an account when the number of incorrect PIN attempts has exceeded the allowed attempts(3) Resolves: #18
carlos added 4 commits 2025-01-06 20:59:08 +01:00
carlos added 2 commits 2025-01-07 08:52:13 +01:00
carlos added 2 commits 2025-01-07 12:33:08 +01:00
carlos added 1 commit 2025-01-07 12:38:59 +01:00
carlos added 5 commits 2025-01-08 07:31:13 +01:00
carlos added 2 commits 2025-01-08 09:48:44 +01:00
carlos added 1 commit 2025-01-08 10:00:48 +01:00
carlos changed title from WIP: account-pin-block-v2 to account-pin-block-v2 2025-01-08 10:04:44 +01:00
carlos requested review from lash 2025-01-08 10:04:55 +01:00
lash requested changes 2025-01-08 12:17:52 +01:00
@ -740,2 +747,4 @@
}
}
} else {
err := h.countIncorrectPINAttempts(ctx, sessionId)
Owner

perhaps incrementnot count ?

perhaps `increment`not `count` ?
@ -843,0 +884,4 @@
code := codeFromCtx(ctx)
l := gotext.NewLocale(translationDir, code)
l.AddDomain("default")
res.Content = l.Get("Your account has been locked.For help on how to unblock your account,contact support at: 0757628885")
Owner

Space after punctuation

Space after punctuation
@ -55,3 +55,3 @@
{
"input": "1235",
"expectedContent": "Incorrect PIN\n1:Retry\n9:Quit"
"expectedContent": "Incorrect PIN.You have: 2 remaining attempt(s).\n1:Retry\n9:Quit"
Owner

Space after punctuation

Space after punctuation
carlos added 4 commits 2025-01-08 12:55:46 +01:00
lash requested changes 2025-01-08 13:02:46 +01:00
@ -10,6 +10,9 @@ msgstr "Asante kwa kutumia huduma ya Sarafu. Kwaheri!"
msgid "For more help, please call: 0757628885"
msgstr "Kwa usaidizi zaidi, piga: 0757628885"
msgid "Your account has been locked.For help on how to unblock your account, contact support at: 0757628885"
Owner

Punctuation still.

Punctuation still.
carlos added 1 commit 2025-01-08 13:27:55 +01:00
lash merged commit f40e11c267 into master 2025-01-08 13:30:39 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 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#256
No description provided.