mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 07:06:34 +00:00
fix bugs, improve security
This commit is contained in:
@@ -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.");
|
||||
|
||||
Reference in New Issue
Block a user