Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does the scratch code work? #97

Open
leo7 opened this issue Aug 11, 2021 · 1 comment
Open

How does the scratch code work? #97

leo7 opened this issue Aug 11, 2021 · 1 comment

Comments

@leo7
Copy link

leo7 commented Aug 11, 2021

Hi,

I am not 100% sure how the scratch codes work here, but I tried to use it as the verification codes and it failed.

So, my questions are

  1. how does the scratch code work? work as a verification code?
  2. do I need to persist the scratch codes in the database to make it work?

Thanks.

@leo7 leo7 changed the title Scratch codes do not work How does the scratch code work? Aug 11, 2021
@alexgamas
Copy link

You will need to store the scratch codes, then when someone choose to use one of them, just remove the burned code from database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants