add pin reset

This commit is contained in:
Carlosokumu 2024-09-13 16:08:59 +03:00
parent 63d060afe2
commit b0342936e1
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953
5 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
Enter a new four number pin

View File

@ -0,0 +1,3 @@
MOUT back 0
HALT
INCMP _ 0

View File

@ -0,0 +1 @@
Enter your old PIN

View File

@ -0,0 +1,9 @@
LOAD authorize_account 6
MOUT back 0
HALT
RELOAD authorize_account
CATCH incorrect_pin flag_incorrect_pin 1
MOVE new_pin
INCMP _ 0

View File

@ -4,3 +4,4 @@ MOUT guard_pin 3
MOUT back 0
HALT
INCMP _ 0
INCMP old_pin 1