Skip to content

[Bug]: Login does not work even after successful registration #1918

@anjaligaikwad0502-bot

Description

@anjaligaikwad0502-bot

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

📄 Description

After registering with valid credentials on the Sign Up / Register page, when I try to log in using the same credentials on the Login page, the user account/dashboard does not open.

The login action does not authenticate the user or redirect to any user-specific page.

🔁 Steps to Reproduce

Open the website (index.html)

Navigate to Sign Up / Register page

Enter valid details and submit the registration form

Go to the Login page

Enter the same email/username and password

Click Login

✅ Expected Behavior

User should be successfully authenticated

User should be redirected to:

a user dashboard / home page
OR

at least see a success message

❌ Actual Behavior

Login does not authenticate the user

No redirection happens

User account is not opened even with correct credentials

💡 Possible Cause (Suggestion)

Authentication is handled only on the frontend

User credentials are not stored or validated (no backend / localStorage / session handling)

Login & signup pages are not properly connected

🛠️ Environment

Project: Travel_Website

Browser: Chrome

OS: Windows

Running via: Live Server

Screenshot:

Image

🙋‍♀️ Additional Notes

This issue may require:

Implementing basic authentication logic using localStorage

OR clearly mentioning that login/signup is UI-only (non-functional) in the documentationhot

Expected behavior

User should be successfully authenticated

User should be redirected to:

a user dashboard / home page
OR

at least see a success message

Add ScreenShots/Videos

Image

On which device are you experiencing this bug?

No response

Record

  • I have read the Contributing Guidelines
  • I'm a KWOC 2025-26 contributor
  • I'm a SWOC 2026 contributor
  • I have starred the repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions