fix bugs, improve security

This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-09-22 00:34:37 +03:00
parent 0af74ec278
commit a4295c6c52
5 changed files with 8 additions and 6 deletions
+2
View File
@@ -18,6 +18,8 @@ public class UserServiceTest
}));
var userService = new UserService(dbFactory, new MemoryCache());
var user = await userService.GetByEmail("spielberg@azaion.com");
if (user == null)
throw new Exception("User not found");
var res = await userService.CheckHardwareHash(user,
"CPU: AMD Ryzen 9 3900XT 12-Core Processor. GPU: Microsoft Remote Display Adapter. Memory: 67037080. DriveSerial: PHMB746301G6480DGN _00000001.");