Add password resets, change password, sign-out, a Branches link and moving staff #8
Reference in New Issue
Block a user
Delete Branch "fix/account-and-navigation-gaps"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the account and navigation gaps found while writing the user manual.
What changes
User.invitePurposetells them apart, so a reset never shows as "Invite pending" (existing rows with no value are treated as invites).POST /api/platform/businesses/:id/owner-reset).POST /api/auth/password): any signed-in user, from the dashboard, the till or the platform console. Needs the current password; other devices are signed out, this one stays signed in.Testing
npm test: 91 tests pass, 8 new intests/account.test.ts:No migration or deploy step beyond the usual
/opt/aquaflow/deploy.sh.🤖 Generated with Claude Code