Introduces invite, verify, accept, resend, and revoke flows using team_members and invitation tokens, sends the branded invitation template, and requires account activation before team login. Co-authored-by: Cursor <cursoragent@cursor.com>
Return err.Error() in the response so operators see e.g. missing team_refresh_tokens table instead of a generic message. Made-with: Cursor