Http-Interceptor hinzugefügt.
This commit is contained in:
@@ -44,7 +44,6 @@ builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationSc
|
||||
options.Cookie.SameSite = SameSiteMode.Strict; // Protects against CSRF attacks by restricting how cookies are sent with requests from external sites
|
||||
options.LoginPath = "/api/auth/login";
|
||||
options.LogoutPath = "/api/auth/logout";
|
||||
options.ExpireTimeSpan = TimeSpan.FromMinutes(60);
|
||||
options.SlidingExpiration = true;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user