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

Commit 43dbe4b

Browse files
authored
Update Startup.cs
1 parent b4ea446 commit 43dbe4b

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)