SQL Error on front-end when user tries to save account details with duplicate phone number.
AmTryingMyBest opened this issue · comments
Expected Behaviour
Where there's an error, error message should be properly shown, not as an SQL Error.
Actual Behaviour
Where there's an error, an SQL error message is shown to the user.
Steps to Reproduce
- Navigate to People section.
- Note organization owner exists.
- Create another user in the same organization, filling in email and phone number.
- Navigate back to the organization owner, click Edit.
- Change the phone number to match the user created above.
- Hit Save.
- User sees SQL Error. (see screenshot)
Screenshot
Environment
- www.tenfour.org
- app.tenfour.org
- staging.tenfour.org
- dev.tenfour.org
- localhost:8100
- iOS App (live)
- iOS App (testflight)
- Android App (live)
- Android App (beta)