feat: implement account binding functionality for GitHub and LinuxDo

This commit is contained in:
shiyu
2025-06-01 15:05:26 +08:00
parent c458f3c6f7
commit d76bf5b751
17 changed files with 670 additions and 64 deletions

View File

@@ -14,6 +14,8 @@ public class User : BaseModel
[Required] [StringLength(255)] public required string PasswordHash { get; set; }
[StringLength(255)] public string? GithubId { get; set; }
[StringLength(255)] public string? LinuxDoId { get; set; }
public int? RoleId { get; set; }
public Role? Role { get; set; }