This fix corrects the implementation of request-token sign-in and verify-token sign-in. The fix ensures that users receive emails with six digit token for sign-in in their email that would expire within 60 seconds from been requested.
Description
This fix corrects the implementation of request-token sign-in and verify-token sign-in. The fix ensures that users receive emails with six digit token for sign-in in their email that would expire within 60 seconds from been requested.
Related Issue (Link to issue ticket)
Motivation and Context
How Has This Been Tested?
This has been tested with pytest and postman.
Screenshots (if appropriate - Postman, etc):
pytest
user requests for sign-in token
email received by user
user signs in with token
user tries to re-use token
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
This fix corrects the implementation of request-token sign-in and verify-token sign-in. The fix ensures that users receive emails with six digit token for sign-in in their email that would expire within 60 seconds from been requested.
Description
This fix corrects the implementation of request-token sign-in and verify-token sign-in. The fix ensures that users receive emails with six digit token for sign-in in their email that would expire within 60 seconds from been requested.
Related Issue (Link to issue ticket)
Motivation and Context
How Has This Been Tested?
This has been tested with pytest and postman.
Screenshots (if appropriate - Postman, etc):
pytest
user requests for sign-in token
email received by user
user signs in with token
user tries to re-use token
Types of changes
Checklist: