
* 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.
15 lines
350 B
C#
15 lines
350 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace API.DTOs
|
|
{
|
|
public class RegisterDto
|
|
{
|
|
[Required]
|
|
public string Username { get; init; }
|
|
[Required]
|
|
public string Email { get; init; }
|
|
[Required]
|
|
[StringLength(32, MinimumLength = 6)]
|
|
public string Password { get; set; }
|
|
}
|
|
}
|