PHP API (migrated from CFML)
Find a file
Netasha c8ac6ae3fa Add Hub auth/login.php endpoint — fixes Web client login
The web client calls auth/login to authenticate users, but this endpoint
was missing from the Hub API. Creates:
- api/hub/auth/login.php: password-based auth with token generation
- Hub_Users table: stores bcrypt password hashes and session tokens
- Auto-provisions on first login (creates credentials for existing agents)
- Adds route to PUBLIC_ROUTES in helpers.php

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 21:41:24 +00:00
_webhook Fix deploy webhook: auto-recover from broken .git directory 2026-03-27 01:35:09 +00:00
api Add Hub auth/login.php endpoint — fixes Web client login 2026-03-27 21:41:24 +00:00
config Port Twilio SMS integration from CFML to PHP 2026-03-14 16:02:34 -07:00
cron fix: harden auth middleware — exact route matching, remove admin bypass, add cron secret 2026-03-23 01:43:43 +00:00
receipt fix: receipt total now uses actual payment amount from DB 2026-03-22 21:38:17 +00:00
show_order.php Add show_order.php redirect to receipt page 2026-03-22 21:28:36 +00:00