Skip to content

Conversation

scaletech-milan
Copy link
Contributor

What does this PR do?

It will reset the TOTP secret and update the recovery codes in the database.
After that user will be redirected to scanner image and the same old TOTP flow will continue until all recovery codes have been used.

Which issue(s) does this PR fix?

Resolve #442

If this PR affects any API reference documentation, please share the updated endpoint references

NA

anand-panigrahi and others added 10 commits November 24, 2023 13:52
* removed fmt.Println
- Introduce TOTP reset logic and redirect to scanner image
- Function for Update TOTP info into db
- Add string parser helper function
- Add function for parse refrence string array
- Change the response of update totp info function
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

Successfully merging this pull request may close these issues.

Enhancement: TOTP Reset After Recovery Code Validation
2 participants