Skip to content

Commit bfdc4f8

Browse files
committed
chore(changeset): invitation refusal copy
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5nwxuShQ1A7T6jAiLn
1 parent 1e1ea35 commit bfdc4f8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@object-ui/console': patch
3+
'@object-ui/auth': patch
4+
'@object-ui/i18n': patch
5+
---
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
Organization invitation refusals now read in the console's language. Opening an
11+
invitation link that is unknown, already used, expired or revoked shows the
12+
console's own sentence instead of better-auth's "Invitation not found!" (the
13+
lookup's not-found answer carries no code, so it is read by its route, its 400
14+
status and the missing code, never by its English text), and that sentence now
15+
says the invitation may already have been used and where an accepted
16+
invitation's organization is. Inviting someone who is already a member shows a
17+
translated sentence instead of "User is already a member of this organization".
18+
Errors thrown by `@object-ui/auth` now also carry the HTTP `status`.

0 commit comments

Comments
 (0)