📜 Description
When you sign up, a cookie called PENDING_EMAIL_VERIFICATION_USER_ID is set. And should be removed after successfully email verification.
Go to : /job-board/src/app/(auth)/verify-email/[token]/page.tsx
verifyEmail is also returning a default 500 error and then page redirect to sign-in endpoint.
👟 Reproduction steps
- Try to sign up and verify a new User
👍 Expected behavior
It should delete PENDING_EMAIL_VERIFICATION_USER_ID cookie after verfication
👎 Actual Behavior with Screenshots
- Go to
/job-board/src/app/(auth)/verify-email/[token]/page.tsx
- console res variable, then you should be able to see 500 error
{ name: 'Internal server error', message: "We're sorry for the inconvenience. Please report this issue to our support team ", code: 500, status: false }
- And cookie did not delete
OS name
Linux
browser name
Firefox
npm version
10.8.1
node version
22.4.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
Yes I am willing to submit a PR!
📜 Description
When you sign up, a cookie called PENDING_EMAIL_VERIFICATION_USER_ID is set. And should be removed after successfully email verification.
Go to :
/job-board/src/app/(auth)/verify-email/[token]/page.tsxverifyEmail is also returning a default 500 error and then page redirect to sign-in endpoint.
👟 Reproduction steps
👍 Expected behavior
It should delete PENDING_EMAIL_VERIFICATION_USER_ID cookie after verfication
👎 Actual Behavior with Screenshots
/job-board/src/app/(auth)/verify-email/[token]/page.tsx{ name: 'Internal server error', message: "We're sorry for the inconvenience. Please report this issue to our support team ", code: 500, status: false }OS name
Linux
browser name
Firefox
npm version
10.8.1
node version
22.4.0
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
Yes I am willing to submit a PR!