mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-20 07:24:25 +01:00
Improve email settings validation and UX (#3891)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BTCPayServer.Validation;
|
||||
|
||||
namespace BTCPayServer.Models.InvoicingModels
|
||||
{
|
||||
public class UpdateCustomerModel
|
||||
{
|
||||
[EmailAddress]
|
||||
[MailboxAddress]
|
||||
[Required]
|
||||
public string Email
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user