mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
17 lines
407 B
C#
17 lines
407 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SharpbinV3.Server.DTOs.Auth
|
|
{
|
|
public sealed class PasswordChangeDto
|
|
{
|
|
[Required]
|
|
public string CurrentPassword { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[StringLength(128, MinimumLength = 8)]
|
|
public string NewPassword { get; set; } = string.Empty;
|
|
|
|
public string? TotpCode { get; set; }
|
|
}
|
|
}
|