gray-mueller / gray-mueller/food-delivery-platform-for-restaurants-using-python

Login Fails for All Emails Except Demo Customer Email

Open
#768 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
In the customer app, users are unable to log in using any email address other than the pre-configured demo customer email. Attempts to log in with a valid registered email result in an error or no response, effectively locking out real users.

To Reproduce
Steps to reproduce the behavior:

Open the customer app
Go to the email login screen
Enter any email other than the demo email (e.g., testuser@gmail.com)
Enter a valid password and attempt to log in
Observe that the login fails with an error
Expected behavior
Users should be able to log in with any valid, registered email address, not just the demo account.

Screenshots

XRecorder_20250619_04.mp4
Smartphone (please complete the following information):

Device: Samsung A15

OS: Android 14

Additional context
This issue may be caused by hardcoded logic tied to the demo account, authentication configuration errors, or backend user validation bugs. It critically affects usability and needs to be resolved to enable access for real customers.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure in the customer app with a registered email such as testuser@gmail.com, then inspect the authentication configuration and backend user validation mentioned in the report. Done means valid registered users can log in successfully instead of only the pre-configured demo customer.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, backend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.