1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-28 17:57:37 +01:00

normalize billing email

This commit is contained in:
Kyle Spearrin 2019-06-12 22:09:32 -04:00
parent 1c57492028
commit 2d63732085

View File

@ -19,7 +19,7 @@ namespace Bit.Core.Models.Api
{ {
existingOrganization.Name = Name; existingOrganization.Name = Name;
existingOrganization.BusinessName = BusinessName; existingOrganization.BusinessName = BusinessName;
existingOrganization.BillingEmail = BillingEmail; existingOrganization.BillingEmail = BillingEmail?.ToLowerInvariant()?.Trim();
return existingOrganization; return existingOrganization;
} }
} }