Closed prphntm63 closed 3 years ago
If a user clicks their email verification link on a different device than the one they registered with (or uses a different browser), the application flow does not register the validation, as it expects a token to populate user information.
Solution is to simply remove the req.user.id dependency from these routes in the validateEmail routehandler function.
req.user.id
validateEmail
If a user clicks their email verification link on a different device than the one they registered with (or uses a different browser), the application flow does not register the validation, as it expects a token to populate user information.
Solution is to simply remove the
req.user.id
dependency from these routes in thevalidateEmail
routehandler function.