Skip to content

fix: accept invite tokens for unverified users#146

Merged
vutuanlinh2k2 merged 1 commit into
mainfrom
fix/invite-token-skips-email-verification
Jun 25, 2026
Merged

fix: accept invite tokens for unverified users#146
vutuanlinh2k2 merged 1 commit into
mainfrom
fix/invite-token-skips-email-verification

Conversation

@vutuanlinh2k2

Copy link
Copy Markdown
Contributor

Summary

  • allow matching invitees to accept workspace invites even when their account email is still unverified
  • keep email mismatch protection intact
  • add regression coverage for invite-first signup acceptance

Verification

  • pnpm vitest run tests/teams/invitations-api.test.ts
  • pnpm typecheck
  • pnpm build

Closes #145

Treat a valid invite token for the matching email address as proof of inbox access, so invite-first signup does not require a second verification email before accepting the invite.\n\nCloses #145

@tangletools tangletools left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved PR — 9b86093c

Blanket team auto-approval is enabled for this reviewer service.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: blanket_auto_approve · 2026-06-25T07:03:47Z

@vutuanlinh2k2 vutuanlinh2k2 merged commit 9ddc6bc into main Jun 25, 2026
1 check passed
@vutuanlinh2k2 vutuanlinh2k2 deleted the fix/invite-token-skips-email-verification branch June 25, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Avoid redundant email verification during invite signup

2 participants