No more JWTs for Scripts + Polish (#4274)

Co-authored-by: Amelia <77553571+Fesaa@users.noreply.github.com>
This commit is contained in:
Joe Milazzo
2025-12-13 06:55:02 -07:00
committed by GitHub
parent b67680c639
commit 8043650aa5
131 changed files with 7804 additions and 1849 deletions
+1
View File
@@ -451,6 +451,7 @@ public class ClientDeviceService(DataContext context, IMapper mapper, ILogger<Cl
public static string GetCacheKey(int userId, string? uiFingerprint, ClientInfoData clientInfo)
{
var deviceIdPart = string.IsNullOrEmpty(uiFingerprint) ? clientInfo.Browser : uiFingerprint;
deviceIdPart = string.IsNullOrEmpty(deviceIdPart) ? clientInfo.UserAgent : deviceIdPart;
return $"device_tracking_{userId}_{deviceIdPart}";
}