feat(members): always return the company invite link so it can be shared without a mail provider (#1710) (#2020)
POST /api/company/members/invite now returns the accept link alongside email_sent and user_provisioned (the NODE_ENV=development gate from #153 is gone, so self-hosted Docker operators without Resend can invite colleagues). CompanyMembersSection ports the TeamPanel share-link pattern: an attention line with a copy action when the mail did not go out, a quiet line otherwise. Docs cover invites without Resend and the revoke-and-re-invite rule. Refs #1710 (SMTP delivery itself is #1746).
This commit is contained in:
@@ -198,6 +198,8 @@ RESEND_FROM_EMAIL=faktura@your-domain.com
|
||||
RESEND_DELIVERY_WEBHOOK_SECRET=whsec_...
|
||||
```
|
||||
|
||||
Invitations do not need Resend: the accept link is returned to the inviter in the app. See [SELF-HOSTING.md](./SELF-HOSTING.md#email-invoice-sending-invitations-and-reminders).
|
||||
|
||||
### Push Notifications
|
||||
|
||||
```env
|
||||
|
||||
Reference in New Issue
Block a user