
* Implemented forgot password flow. Fixed a bug in manage user where admins were showing the Sharing With section. * Cleaned up the reset password flow. * Reverted some debug code * Fixed an issue with invites due to ImmutableArray not being set.
14 lines
323 B
C#
14 lines
323 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs.Account;
|
|
|
|
public class ConfirmPasswordResetDto
|
|
{
|
|
[Required]
|
|
public string Email { get; set; }
|
|
[Required]
|
|
public string Token { get; set; }
|
|
[Required]
|
|
[StringLength(32, MinimumLength = 6)]
|
|
public string Password { get; set; }
|
|
}
|