[GH-ISSUE #6300] URL in the "Join Vaultwarden" mail does not have the TCP port if webserver is not running on port 443 #35345

Closed
opened 2026-07-13 20:09:07 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @pjlammertyn on GitHub (Sep 18, 2025).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6300

Vaultwarden is running on port 8080.

I have configured the DOMAIN environment variable and it contains the port

DOMAIN=https://www.example.com:8080

The URL in the "Join Vaultwarden" mail does not have the TCP port

see https://github.com/dani-garcia/vaultwarden/blob/a2ad1dc7c3d28834749d4b14206838d795236c27/src/static/templates/email/send_org_invite.html.hbs#L12C43-L12C46

Originally created by @pjlammertyn on GitHub (Sep 18, 2025). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/6300 Vaultwarden is running on port 8080. I have configured the DOMAIN environment variable and it contains the port ```env DOMAIN=https://www.example.com:8080 ``` The URL in the "Join Vaultwarden" mail does not have the TCP port see https://github.com/dani-garcia/vaultwarden/blob/a2ad1dc7c3d28834749d4b14206838d795236c27/src/static/templates/email/send_org_invite.html.hbs#L12C43-L12C46
Author
Owner

@stefan0xC commented on GitHub (Sep 18, 2025):

Well, the mail template uses the configured DOMAIN value so you might want to check your support string if the domain is configured correctly https://github.com/dani-garcia/vaultwarden/blob/a2ad1dc7c3d28834749d4b14206838d795236c27/src/mail.rs#L321

<!-- gh-comment-id:3307958174 --> @stefan0xC commented on GitHub (Sep 18, 2025): Well, the mail template uses the configured DOMAIN value so you might want to check your support string if the domain is configured correctly https://github.com/dani-garcia/vaultwarden/blob/a2ad1dc7c3d28834749d4b14206838d795236c27/src/mail.rs#L321
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#35345