mirror of
https://github.com/bitwarden/server
synced 2025-12-23 03:33:35 +00:00
* Revert "Add git blame entry (#2226)" This reverts commit239286737d. * Revert "Turn on file scoped namespaces (#2225)" This reverts commit34fb4cca2a.
21 lines
547 B
C#
21 lines
547 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Bit.Core.Utilities;
|
|
|
|
namespace Bit.Api.Models.Request.Accounts
|
|
{
|
|
public class EmailRequestModel : SecretVerificationRequestModel
|
|
{
|
|
[Required]
|
|
[StrictEmailAddress]
|
|
[StringLength(256)]
|
|
public string NewEmail { get; set; }
|
|
[Required]
|
|
[StringLength(300)]
|
|
public string NewMasterPasswordHash { get; set; }
|
|
[Required]
|
|
public string Token { get; set; }
|
|
[Required]
|
|
public string Key { get; set; }
|
|
}
|
|
}
|