Polish before Release 2 (#3723)

Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
Joe Milazzo 2025-04-11 09:07:17 -06:00 committed by GitHub
parent 67d7d8467e
commit 4453482d93
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 201 additions and 154 deletions

View file

@ -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!;