Skip to content

Commit e7fa519

Browse files
committed
add MarketingInitiativeValidation to RegisterVerifyEmail
1 parent 93133a0 commit e7fa519

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Core/Auth/Models/Mail/RegisterVerifyEmail.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// FIXME: Update this file to be null safe and then delete the line below
22
#nullable disable
33

4+
using Bit.Core.Auth.Attributes;
45
using Bit.Core.Auth.Models.Api.Request.Accounts;
56
using Bit.Core.Models.Mail;
67

@@ -24,5 +25,6 @@ public class RegisterVerifyEmail : BaseMailModel
2425

2526
public string Token { get; set; }
2627
public string Email { get; set; }
28+
[MarketingInitiativeValidation]
2729
public string FromMarketing { get; set; }
2830
}

0 commit comments

Comments
 (0)