Fix build break
This commit is contained in:
parent
116593f091
commit
f2d9594799
|
|
@ -62,7 +62,7 @@ namespace MusicStore
|
||||||
|
|
||||||
services.ConfigureCookieAuthentication(options =>
|
services.ConfigureCookieAuthentication(options =>
|
||||||
{
|
{
|
||||||
options.AccessDeniedPath = new PathString("~/Home/AccessDenied");
|
options.AccessDeniedPath = new PathString("/Home/AccessDenied");
|
||||||
});
|
});
|
||||||
|
|
||||||
services.ConfigureFacebookAuthentication(options =>
|
services.ConfigureFacebookAuthentication(options =>
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ using Microsoft.AspNet.Authorization;
|
||||||
using Microsoft.AspNet.Builder;
|
using Microsoft.AspNet.Builder;
|
||||||
using Microsoft.AspNet.Diagnostics;
|
using Microsoft.AspNet.Diagnostics;
|
||||||
using Microsoft.AspNet.Diagnostics.Entity;
|
using Microsoft.AspNet.Diagnostics.Entity;
|
||||||
|
using Microsoft.AspNet.Http;
|
||||||
using Microsoft.AspNet.Identity.EntityFramework;
|
using Microsoft.AspNet.Identity.EntityFramework;
|
||||||
using Microsoft.Data.Entity;
|
using Microsoft.Data.Entity;
|
||||||
using Microsoft.Framework.Caching.Memory;
|
using Microsoft.Framework.Caching.Memory;
|
||||||
|
|
@ -74,6 +75,11 @@ namespace MusicStore
|
||||||
.AddEntityFrameworkStores<MusicStoreContext>()
|
.AddEntityFrameworkStores<MusicStoreContext>()
|
||||||
.AddDefaultTokenProviders();
|
.AddDefaultTokenProviders();
|
||||||
|
|
||||||
|
services.ConfigureCookieAuthentication(options =>
|
||||||
|
{
|
||||||
|
options.AccessDeniedPath = new PathString("/Home/AccessDenied");
|
||||||
|
});
|
||||||
|
|
||||||
services.ConfigureFacebookAuthentication(options =>
|
services.ConfigureFacebookAuthentication(options =>
|
||||||
{
|
{
|
||||||
options.AppId = "[AppId]";
|
options.AppId = "[AppId]";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue