Skip to content

Commit 1761f2c

Browse files
committed
changed dentityRegistrar.Regiter return type
1 parent da522e7 commit 1761f2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ namespace AbpCompanyName.AbpProjectName.Identity
1010
{
1111
public static class IdentityRegistrar
1212
{
13-
public static void Register(IServiceCollection services)
13+
public static IdentityBuilder Register(IServiceCollection services)
1414
{
1515
services.AddLogging();
1616

17-
services.AddAbpIdentity<Tenant, User, Role>()
17+
return services.AddAbpIdentity<Tenant, User, Role>()
1818
.AddAbpTenantManager<TenantManager>()
1919
.AddAbpUserManager<UserManager>()
2020
.AddAbpRoleManager<RoleManager>()

0 commit comments

Comments
 (0)