1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-27 17:47: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.BusinessName = BusinessName;
existingOrganization.BillingEmail = BillingEmail;
existingOrganization.BillingEmail = BillingEmail?.ToLowerInvariant()?.Trim();
return existingOrganization;
}
}