mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
fix: lower vulnerabilities + harden docker setup
also includes a github workflow
This commit is contained in:
@@ -8,8 +8,9 @@ namespace SharpbinV3.Server.DTOs.User
|
||||
public string? Username { get; set; }
|
||||
public string? Email { get; set; }
|
||||
|
||||
[Required]
|
||||
[StringLength(128, MinimumLength = 6)]
|
||||
public string? Password { get; set; }
|
||||
public required string Password { get; set; }
|
||||
public string? Token { get; set; }
|
||||
public string? TotpCode { get; set; }
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace SharpbinV3.Server.DTOs
|
||||
{
|
||||
public string? DisplayName { get; set; }
|
||||
public string? Email { get; set; }
|
||||
public Visibility? Visibility { get; set; } = Data.Enums.Visibility.Public;
|
||||
public Visibility? Visibility { get; set; }
|
||||
public Role? Roles { get; set; }
|
||||
public bool? IsBanned { get; set; }
|
||||
public string? TotpCode { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user