Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: PENDING_EMAIL_VERIFICATION_USER_ID is not deleting after email verification #587

Open
2 tasks done
yshplsngh opened this issue Nov 13, 2024 · 0 comments
Open
2 tasks done

Comments

@yshplsngh
Copy link

📜 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

  1. 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

  1. Go to /job-board/src/app/(auth)/verify-email/[token]/page.tsx
  2. 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 }
  3. 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?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

Yes I am willing to submit a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant