Pin reset not resetting pin_failed_attempts counter
Closed this issue · 2 comments
WillRuddick commented
grassrootseconomics/CIC-Docs#64
After clicking on pin reset for a user, the counter for failed attempts is still at three.
We can't therefore know and call up people with blocked pins (often people don't have airtime to call us)
tristanhcole commented
I couldn't exactly reproduce this on master branch. When reset pin button is clicked, the count is being reset on the DB, but the frontend isn't updating correctly (so still showing previous failed attempts), however, if you refresh the page it will show 0 attempts as pin has been correctly reset.
Could you confirm this is what is happening and I'll put in a small PR to fix this?
WillRuddick commented
thanks @tristanhcole it was indeed just cosmetic - refreshing the page does show the correct number .