hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
154 stars 136 forks source link

fix: Request reset token sign in. #896

Closed johnson-oragui closed 1 month ago

johnson-oragui commented 1 month ago

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):

Types of changes

Checklist:

johnson-oragui commented 1 month ago

@trevorjob

kindly review