Replaces the explicit "look up existing account" search field with automatic lookup as email/phone are entered, requires operator confirmation before any matched account's name/email/phone/preference is changed, adds a password show/hide toggle, and fixes two bugs found during testing: entering a phone number belonging to a different account could silently overwrite the form with that account's details, and re-checking an unchanged field (e.g. from tapping a ticket quantity button) could revert edits already made. Also adds a server-side check rejecting registrations whose email and phone resolve to two different existing accounts, as defense in depth. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
25 lines
740 B
JSON
25 lines
740 B
JSON
{
|
|
"name": "hope-events",
|
|
"version": "1.3.2",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev:backend": "cd backend && npm run dev",
|
|
"dev:frontend": "cd frontend && npm run dev",
|
|
"start:backend": "cd backend && npm run start",
|
|
"start:frontend": "cd frontend && npm run start",
|
|
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
|
|
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
|
|
"build": "cd frontend && npm run build && cd .. && cd backend && npm run prisma:generate"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"description": "",
|
|
"devDependencies": {
|
|
"concurrently": "^9.2.1"
|
|
},
|
|
"dependencies": {
|
|
"express-rate-limit": "^8.3.1"
|
|
}
|
|
}
|