Skip to content

Commit 2a4ab34

Browse files
author
Musa Demir
committed
Update Startup.cs
1 parent f66ab73 commit 2a4ab34

File tree

1 file changed

+5
-0
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Startup

1 file changed

+5
-0
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Startup/Startup.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ public IServiceProvider ConfigureServices(IServiceCollection services)
4747
};
4848
});
4949

50+
services.AddAuthentication(options =>
51+
{
52+
options.DefaultScheme = "Cookies";
53+
}).AddCookie();
54+
5055
IdentityRegistrar.Register(services);
5156
AuthConfigurer.Configure(services, _appConfiguration);
5257

0 commit comments

Comments
 (0)