vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit ce99fc8f955fdb3163179c18562953a0631f4b94
parent 75cfd10f11cd4b5f9944a8db19693c7f4ea0c36b
Author: Mathijs van Veluw <black.dex@gmail.com>
Date:   Thu,  4 Mar 2021 08:15:34 +0100

Merge pull request #1460 from jjlin/invitation-org-name

Fix custom org name in invitation confirmation email
Diffstat:
Msrc/api/core/organizations.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs @@ -655,7 +655,7 @@ fn accept_invite(_org_id: String, _org_user_id: String, data: JsonUpcase<AcceptD } if CONFIG.mail_enabled() { - let mut org_name = String::from("bitwarden_rs"); + let mut org_name = CONFIG.invitation_org_name(); if let Some(org_id) = &claims.org_id { org_name = match Organization::find_by_uuid(&org_id, &conn) { Some(org) => org.name,