Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #82 from AppliedIS/feature-auditfields
Browse files Browse the repository at this point in the history
Fix Admin Seed
  • Loading branch information
klinden committed Oct 26, 2016
2 parents 3a9927c + f824bdd commit 6d299fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DOL.WHD.Section14c.DataAccess/Migrations/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected override void Seed(DOL.WHD.Section14c.DataAccess.ApplicationDbContext
context.Responses.AddOrUpdate(new Response { Id = 40, QuestionKey = "WIOAWorkerVerified", Display = "No", IsActive = true });
context.Responses.AddOrUpdate(new Response { Id = 41, QuestionKey = "WIOAWorkerVerified", Display = "Not Required", IsActive = true });

context.Users.Add(new Domain.Models.ApplicationUser { Id = System.Guid.Empty.ToString(), Email = "systemadmin@domain.com", UserName = "System Admin", LockoutEnabled = true, PasswordHash = System.Guid.NewGuid().ToString() });
context.Users.AddOrUpdate(new Domain.Models.ApplicationUser { Id = System.Guid.Empty.ToString(), Email = "systemadmin@domain.com", UserName = "System Admin", LockoutEnabled = true, PasswordHash = System.Guid.NewGuid().ToString() });

}
}
Expand Down

0 comments on commit 6d299fb

Please sign in to comment.