force sliding expiration to be true
This commit is contained in:
parent
c8f3c5225d
commit
70b0d0cba3
@ -14,6 +14,7 @@ builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationSc
|
||||
o.LoginPath = "/login";
|
||||
o.Cookie.Name = "NotesUser";
|
||||
o.Cookie.MaxAge = TimeSpan.FromDays(3);
|
||||
o.SlidingExpiration = true;
|
||||
});
|
||||
|
||||
var app = builder.Build();
|
||||
|
Loading…
x
Reference in New Issue
Block a user