Skip to content

Commit

Permalink
Upgrade packages
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Nov 8, 2017
1 parent bf848cd commit 1be5b00
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Bloggy/Bloggy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-*" />
<PackageReference Include="CommonMark.NET" Version="0.12.0" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0-preview2-final" />
<PackageReference Include="CommonMark.NET" Version="0.15.1" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 5 additions & 1 deletion src/Bloggy/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ public void ConfigureServices(IServiceCollection services)
options.DefaultChallengeScheme = CookieAuthenticationDefaults.AuthenticationScheme;
});

services.AddCookieAuthentication();
services.AddAuthentication(options =>
{
options.DefaultAuthenticateScheme = CookieAuthenticationDefaults.AuthenticationScheme;
options.DefaultChallengeScheme = CookieAuthenticationDefaults.AuthenticationScheme;
}).AddCookieAuthentication();

services.AddMvc()
.AddRazorPagesOptions(options =>
Expand Down

0 comments on commit 1be5b00

Please sign in to comment.