mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
E-Mail Account Verification and Organisation Invites fails #2000
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ASeehawer on GitHub (Aug 15, 2024).
E-Mail Account Verification and Organization Invites fails
I am using Vaultvarden as Docker-Compose installation and are on the latest version:
The Links I get send bye email to verify my email-address: i get this:

By using the link to join an organization, I get this:

Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden: DOMAIN, SENDS_ALLOWED, SIGNUPS_ALLOWED, SIGNUPS_VERIFY, SIGNUPS_VERIFY_RESEND_TIME, SIGNUPS_VERIFY_RESEND_LIMIT, INVITATIONS_ALLOWED, EMERGENCY_ACCESS_ALLOWED, SHOW_PASSWORD_HINT, ADMIN_TOKEN, SMTP_HOST, SMTP_SECURITY, SMTP_PORT, SMTP_FROM, SMTP_USERNAME, SMTP_PASSWORD
Install method: Docker-Compose
Clients used: Web
Reverse proxy and version: Traefik 3.1.2
@BlackDex commented on GitHub (Aug 15, 2024):
Have you tried this via a different browser or private windows to see if that solves it?
@ASeehawer commented on GitHub (Aug 15, 2024):
Hi,
i tried:
This phenomenon comes first with the update to version 1.32
@BlackDex commented on GitHub (Aug 15, 2024):
Strange, i have tried it yesterday during fixing manager roles. And it worked fine for me.
We need a bit more logs. Like the browser developer console, parts of the url you received. Maybe even your reverse proxy logs etc...
@ASeehawer commented on GitHub (Aug 15, 2024):
This is the log Part, wen I click the link (and copy paste the link) in the email "join Organization Now"
The link from the email:
The network trace from the Browser "F12" after calling the link:
Browser Console Log:
console-export-2024-8-15_20-55-47.txt
@stefan0xC commented on GitHub (Aug 16, 2024):
If you replace the
&with&from the link it seems to work. Not sure how they get added in your case (because the invitation mail doesn't seem to have them when I look at the source of the received mail), but this is probably a client side bug which we can't do anything about.@BlackDex commented on GitHub (Aug 16, 2024):
You can see here Vaultwarden uses an
&9e26014b4d/src/static/templates/email/send_org_invite.html.hbs (L12)The only thing i can think of is that you modified the templates to translate them maybe? And that those templates have a wrong format.
@ASeehawer commented on GitHub (Aug 16, 2024):
I haven't changed anything in the templates or the translation.
@BlackDex commented on GitHub (Aug 16, 2024):
Then it must be something else on your system, like extensions, the mail server you use or something like that.
You could test what happens if you start a local mailserver and send the mails to that and see what happens.
You can start a local mail server by running this:
And then configure Vaultwarden to use that as a mail server.
I do not know how you run your Vaultwarden exactly, so not sure what you need to configure in SMTP_HOST, but that should be reachable by the Vaultwarden container at least.
You can then access the web-interface of the local mailserver by going to http://127.0.0.1:1080.
@BlackDex commented on GitHub (Aug 16, 2024):
You may also send me an invite if you want, then i can check the body and see if something is wrong there.
black.dex AT gmail DOT com@BlackDex commented on GitHub (Aug 18, 2024):
Going to close this as not re-producable and move it to a discussion.
It looks like either templates are overwritten, or something in-between Vaultwarden and the final receiver is modifying the HTML Body of the mail. Or maybe even some global application, extension or Anti-Virus or Firewall application.
I have done several more tests, and I am unable to get it converted to
&unless i manually modify it in the template.