1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

trim and tolower billing email

This commit is contained in:
Kyle Spearrin
2019-06-12 22:08:53 -04:00
parent ad7c4b89c4
commit 1c57492028
3 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ namespace Bit.Core.Models.Table
public string BillingEmailAddress()
{
return BillingEmail;
return BillingEmail?.ToLowerInvariant()?.Trim();
}
public string BillingName()

View File

@ -50,7 +50,7 @@ namespace Bit.Core.Models.Table
public string BillingEmailAddress()
{
return Email;
return Email?.ToLowerInvariant()?.Trim();
}
public string BillingName()