feat(auth): add PasswordChanged audit action and ChangePasswordRequest DTO

This commit is contained in:
Chris Chen
2026-06-23 19:44:23 -07:00
parent 4225b49e58
commit 9df391b42c
2 changed files with 18 additions and 2 deletions
@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
namespace ROLAC.API.DTOs.Auth;
public class ChangePasswordRequest
{
[Required]
[MaxLength(128)]
public string CurrentPassword { get; set; } = null!;
[Required]
[MinLength(8)]
[MaxLength(128)]
public string NewPassword { get; set; } = null!;
}