fix: lower vulnerabilities + harden docker setup

also includes a github workflow
This commit is contained in:
2026-06-17 22:18:55 -04:00
parent 4f5ca9a069
commit d16f1f872f
16 changed files with 164 additions and 137 deletions
+2 -1
View File
@@ -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; }
}
+1 -1
View File
@@ -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; }