mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
trim and tolower billing email
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Bit.Core.Models.Table
|
||||
|
||||
public string BillingEmailAddress()
|
||||
{
|
||||
return BillingEmail;
|
||||
return BillingEmail?.ToLowerInvariant()?.Trim();
|
||||
}
|
||||
|
||||
public string BillingName()
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace Bit.Core.Models.Table
|
||||
|
||||
public string BillingEmailAddress()
|
||||
{
|
||||
return Email;
|
||||
return Email?.ToLowerInvariant()?.Trim();
|
||||
}
|
||||
|
||||
public string BillingName()
|
||||
|
||||
Reference in New Issue
Block a user