mirror of
https://github.com/Open-Dev-Society/OpenStock.git
synced 2026-10-03 21:28:15 +08:00
- Watchlist and alert actions took a userId from the client, so any signed-in user could add, remove or delete another user's data. They now read the session. - middleware/index.ts was never loaded by Next.js (empty middleware manifest); moved to middleware.ts so signed-out requests redirect before any page code runs. - Mongo connection log no longer prints the password. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>