Skip to content

Commit 99798a8

Browse files
committed
Resolved #56: Remove custom auth schema.
1 parent 3bf744d commit 99798a8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Core/Identity/IdentityRegistrar.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ public static void Register(IServiceCollection services)
1313
{
1414
services.AddLogging();
1515

16-
services.AddAbpIdentity<Tenant, User, Role>(options =>
17-
{
18-
options.Cookies.ApplicationCookie.AuthenticationScheme = "AbpZeroTemplateAuthSchema";
19-
options.Cookies.ApplicationCookie.CookieName = "AbpZeroTemplateAuth";
20-
})
16+
services.AddAbpIdentity<Tenant, User, Role>()
2117
.AddAbpTenantManager<TenantManager>()
2218
.AddAbpUserManager<UserManager>()
2319
.AddAbpRoleManager<RoleManager>()

0 commit comments

Comments
 (0)