Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

Commit 6204ee1

Browse files
authored
Merge pull request #37 from shlgug/patch-1
Update Startup.cs
2 parents 06769b0 + 43dbe4b commit 6204ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TodoListWebApp/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
5151

5252
app.UseStaticFiles();
5353

54-
app.UseSession(); // Needs to be app.UseAuthentication() and app.UseMvc() otherwise you will get an exception "Session has not been configured for this application or request."
54+
app.UseSession(); // Needs to be before app.UseAuthentication() and app.UseMvc() otherwise you will get an exception "Session has not been configured for this application or request."
5555
app.UseAuthentication();
5656
app.UseMvc(routes =>
5757
{

0 commit comments

Comments
 (0)