Pramod Mahajan 5b08b617cf Add Change Password API for logged-in users,
- Validates old password and updates to new one using UserManager
- Secured the endpoint for authenticated users only
2025-06-05 16:33:57 +05:30

18 lines
361 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Marco.Pms.Model.Dtos.Authentication
{
public class ChangePasswordDto
{
public string? Email { get; set; }
public string? OldPassword { get; set; }
public string? NewPassword { get; set; }
}
}