14 lines
452 B
C#
14 lines
452 B
C#
namespace Nexus.Api.DTOs;
|
|
|
|
public sealed record AdminResetPasswordRequest
|
|
{
|
|
/// <summary>The email of the user whose password should be reset.</summary>
|
|
public required string Email { get; init; }
|
|
|
|
/// <summary>The new password to set.</summary>
|
|
public required string NewPassword { get; init; }
|
|
|
|
/// <summary>Admin reset token from configuration (Admin:ResetToken).</summary>
|
|
public required string AdminToken { get; init; }
|
|
}
|