mirror of
https://github.com/myronblair/novacpx
synced 2026-06-30 17:50:41 -05:00
a5b2a67708
- admin.js was calling auth/register (action does not exist) — changed to users/create - Reseller list was fetching from accounts/list which is for hosting accounts; fixed to users/list?role=reseller - Replaced shared adminSuspend/adminChangePass (account-scoped) with dedicated adminResellerSuspend/Unsuspend/Passwd/Delete functions that operate on the users table - Added users endpoint actions: create, suspend, unsuspend, change-password, delete — all admin-only, operating on user rows rather than hosting account rows - Reseller delete disowns their accounts (sets reseller_id=NULL) rather than cascading delete Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>