don't send hardware hash, calc on the api

This commit is contained in:
Alex Bezdieniezhnykh
2025-02-26 16:02:09 +02:00
parent 6d28085b7e
commit 503ddc8c41
9 changed files with 32 additions and 42 deletions
+2 -1
View File
@@ -6,6 +6,7 @@ public class User
public string Email { get; set; } = null!;
public string PasswordHash { get; set; } = null!;
public string? Hardware { get; set; }
public string? HardwareHash { get; set; }
public RoleEnum Role { get; set; }
public static string GetCacheKey(string email) => $"{nameof(User)}.{email}";
}