Closed neil-sweetcodepro closed 2 years ago
To be reviewed and merged after https://github.com/earthowned/planetfarms/pull/514
Along with issues mentioned on other PR.
@lmmrssa we'll be forced to use emails for new users in registration. You won't be able to log in and confirm the code using the frontend. There will be frontend changes to follow after this PR.
@lmmrssa fixed issue 4. In order to confirm/verify email address, send request directly to the backend.
Make a request to /api/users/confirm-sign-up
endpoint with the sample json payload:
{
"username": "test@test.com",
"code": "666704"
}
To resend the sign up code, make a request to POST /api/users/resend-sign-up-code
with the sample json payload:
{
"username": "test@test.com"
}