mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-12-08 06:05:06 -05:00
* 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.
16 lines
350 B
C#
16 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; }
|
|
}
|
|
}
|