diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-09-20 12:45:59 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-09-20 12:45:59 +1000 |
| commit | fbaa4e43709a96774ebe42b7ec5908c1c0f310d7 (patch) | |
| tree | 04293c8a78911f0180f9ab862365cc12fa7bcc43 /HBContext.cs | |
| parent | ccad8db591129f5a9effb6469b477bb5c23ee229 (diff) | |
Added security migration
Diffstat (limited to 'HBContext.cs')
| -rw-r--r-- | HBContext.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<User>().HasData(new User[] { new() { ObjectId = (int) HBObjectId.AdminUser, - Username = "admin", + Name = "admin", PasswordHash = UserService.HashPassword("admin") } }); |
