dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
38.47k stars 1.87k forks source link

Invitation and other mails redirect to localhost #890

Closed christophedumont5 closed 4 years ago

christophedumont5 commented 4 years ago

When we receive this email :

This email is to notify you that xxx@xxx has accepted your invitation to join XXXX.

Please log in to the bitwarden_rs server and confirm them from the organization management page. If you do not wish to confirm this user, you can also remove them from the organization on the same page.

and we click the url generated is https://localhost. I would like to generate an url like : https://www.example.com How do i do this ?

mprasil commented 4 years ago

I think you only need to set the DOMAIN correctly.

christophedumont5 commented 4 years ago

Thks, adding DOMAIN=https://www.example.com to bitwarden_rs.env solved the problem.