You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This route deals with HTTP requests of email-verification links.
A user clicks a link sent to his email is redirected to using this route.
note that this route MUST be a GET request since the browser is sending a GET request by default.
Estimated time: 2 hours.
The text was updated successfully, but these errors were encountered:
GET /users/verify/:token - this route is used to verify an
verification email which is sent to new user mailbox
POST /users/verify - this route is used to REsend a verification
mail. the request body should contain the requesting user
credentials.
GET * - this is a default route that sohuld handle invalid
requests (returns 404).
Modified Routes: Register and Login - from now on auth token will not be
created unless the user status is verified. Registeration will send and
verification mail to the new registered user. The Login route will first
check that the user is verified before creating an auth token.
User Schema: New property add - isVerified to distiguish between verified
and unverified accounts.
issues: #209#210#211#212
This route deals with HTTP requests of email-verification links.
A user clicks a link sent to his email is redirected to using this route.
note that this route MUST be a GET request since the browser is sending a GET request by default.
Estimated time: 2 hours.
The text was updated successfully, but these errors were encountered: