Fix guest signup not showing payment info after purchase

/api/settings was missing from the middleware public routes allowlist,
causing unauthenticated (guest) requests to be blocked before reaching
the route handler. The error was silently caught, leaving settings null
and hiding the amount owed, payment methods, and payment instructions.
Logged-in users were unaffected as their session token passed middleware.

Also update CLAUDE.md to reflect the WebSocket userId-based auth change.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Philip
2026-02-18 08:26:42 -08:00
parent b4e89ea9ee
commit d4c82867d4
3 changed files with 8 additions and 2 deletions
+6 -1
View File
@@ -19,7 +19,12 @@
"Bash(iptables:*)",
"Bash(npx tsc:*)",
"Bash(npx prisma generate:*)",
"Bash(timeout 3 node:*)"
"Bash(timeout 3 node:*)",
"Bash(git commit:*)",
"Bash(git config:*)",
"Bash(git remote add:*)",
"Bash(git push:*)",
"Bash(git remote set-url:*)"
]
}
}