gray-mueller / gray-mueller/milk-ordering-platform-react-native

Login Fails for All Emails Except Demo Customer Email

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.