mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
feat: login & registration; enhanced paste view; custom dropdown + search; navbar; global user access via store; auto token refresh; paste creation as user; /api/user/me, returns info on yourself including pastes;
fix: auth check refactor: remove user UID api endpoint
This commit is contained in:
@@ -6,7 +6,6 @@ namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
[StringLength(50, MinimumLength = 3)]
|
||||
public string? Username { get; set; }
|
||||
[EmailAddress]
|
||||
public string? Email { get; set; }
|
||||
[StringLength(128, MinimumLength = 6)]
|
||||
public string? Password { get; set; }
|
||||
|
||||
@@ -12,7 +12,6 @@ namespace SharpbinV3.Server.DTOs
|
||||
[StringLength(128, MinimumLength = 6)]
|
||||
public required string Password { get; set; }
|
||||
|
||||
[EmailAddress]
|
||||
public string? Email { get; set; }
|
||||
|
||||
public string? DisplayName { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user