I have been trying to authenticate the user with an email session but I am getting this error ehen a user is trying to sign up.
I just tried to add email verification logic and this bug came up
Someone help me with this issue
In what part of your code you're facing the error?
As of now I've added router.push('/login') to redirect after a user sign up. Just done this to hide the bug
But it should be there as I want to do email verification when a user sign up
then get access to other pages
So, I put the verification logic there and tried to sign up as a new user but it showed up this error and didn't send any email for verification or anything to me other than the error along with signed up successfully message
First, I don't want this error to show up and second I want to send the email verification
I see.
I think, that in the middle of the process you'll need to use the account.get() in between
To create the user session before moving to other user actions.
Recommended threads
- SSL certificate issuance failed:
Domain verifies but SSL cert fails, tried different subdomains like .api and .aw, used cname and CAA, no prior CAA existed on website, tried Multiple CAAs at on...
- Password check in function
Hi, is there any way now for checking if the users password is correct in a function? I am creating a delete user function and before deleting I would like to c...
- Deployment fails after 15+ minutes: "Wai...
Hi, I'm Jayden. My email is jaydthom@haverford.org, and i'm having persistent deployment failures with my Next.js project. What happens: Push to GitHub trigg...