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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...