don't need session
This commit is contained in:
parent
bf46dac9eb
commit
c34dc876c0
@ -9,11 +9,6 @@ builder.Services.AddControllersWithViews();
|
||||
builder.Services.AddSignalR();
|
||||
builder.Services.AddSingleton<INoteService, FileNoteService>();
|
||||
|
||||
builder.Services.AddSession(options =>
|
||||
{
|
||||
options.IdleTimeout = TimeSpan.FromMinutes(30);
|
||||
});
|
||||
|
||||
builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme).AddCookie(o =>
|
||||
{
|
||||
o.LoginPath = "/login";
|
||||
|
Loading…
x
Reference in New Issue
Block a user