Polish before Release 2 (#3723)
Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
parent
67d7d8467e
commit
4453482d93
21 changed files with 201 additions and 154 deletions
|
@ -1,6 +1,7 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace API.DTOs;
|
||||
#nullable enable
|
||||
|
||||
public class RegisterDto
|
||||
{
|
||||
|
@ -9,7 +10,7 @@ public class RegisterDto
|
|||
/// <summary>
|
||||
/// An email to register with. Optional. Provides Forgot Password functionality
|
||||
/// </summary>
|
||||
public string Email { get; init; } = default!;
|
||||
public string? Email { get; set; } = default!;
|
||||
[Required]
|
||||
[StringLength(256, MinimumLength = 6)]
|
||||
public string Password { get; set; } = default!;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue