Skip to content

fix the login and signup issue #30

Merged
Ashmita1206 merged 1 commit into
Ashmita1206:mainfrom
Neeraj-code-beep:main
May 26, 2026
Merged

fix the login and signup issue #30
Ashmita1206 merged 1 commit into
Ashmita1206:mainfrom
Neeraj-code-beep:main

Conversation

@Neeraj-code-beep

Copy link
Copy Markdown
Contributor

Fix Authentication 500 Errors

Fixed frontend authentication issues causing 500 Internal Server Error during login/signup flow.

Changes Made

  • Configured bcryptjs properly
  • Added password hashing middleware
  • Fixed comparePassword() method
  • Resolved module import/export conflicts
  • Recreated users with hashed passwords
  • Verified frontend-backend auth integration

Result

  • Signup/Login working correctly
  • JWT authentication functioning properly
  • No more 500 errors during auth requests

Tested

  • Postman API testing
  • MongoDB connection
  • JWT validation
  • Frontend authentication flow

Closes #29

@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

@Neeraj-code-beep is attempting to deploy a commit to the ashmitagoyal1206-7687's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Ashmita1206 Ashmita1206 merged commit 6e3c126 into Ashmita1206:main May 26, 2026
0 of 5 checks passed
@Ashmita1206

Copy link
Copy Markdown
Owner

@Neeraj-code-beep Your PR has been reviewed and merged successfully.
You can continue working on other open issues. Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix frontend authentication failure causing 500 error on login/signup

2 participants