From fbaa4e43709a96774ebe42b7ec5908c1c0f310d7 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Wed, 20 Sep 2023 12:45:59 +1000 Subject: Added security migration --- HBContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'HBContext.cs') diff --git a/HBContext.cs b/HBContext.cs index c38a614..4334495 100644 --- a/HBContext.cs +++ b/HBContext.cs @@ -69,7 +69,7 @@ public class HBContext : DbContext { modelBuilder.Entity().HasData(new User[] { new() { ObjectId = (int) HBObjectId.AdminUser, - Username = "admin", + Name = "admin", PasswordHash = UserService.HashPassword("admin") } }); -- cgit v1.3