Fixed for build break

This commit is contained in:
Kiran Challa 2015-05-21 16:47:40 -07:00
parent d2f041def9
commit 9e62751649
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ namespace MusicStore.Controllers
services.AddIdentity<ApplicationUser, IdentityRole>()
.AddEntityFrameworkStores<MusicStoreContext>();
services.AddLogging();
// IHttpContextAccessor is required for SignInManager, and UserManager
var context = new DefaultHttpContext();
context.SetFeature<IHttpAuthenticationFeature>(new HttpAuthenticationFeature() { Handler = new TestAuthHandler() });