Browse Source

Add preconfigure execution for identitybuilder.

pull/183/head
Halil İbrahim Kalkan 8 years ago
parent
commit
627d9a7b3f
  1. 5
      src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs

5
src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/AbpIdentityDomainModule.cs

@ -9,8 +9,9 @@ namespace Volo.Abp.Identity
{
public override void ConfigureServices(IServiceCollection services)
{
//TODO: How to configure options of AddIdentity (and return value)
services.AddAbpIdentity();
var identityBuilder = services.AddAbpIdentity();
services.ExecutePreConfiguredActions(identityBuilder);
services.AddAssemblyOf<AbpIdentityDomainModule>();
}
}

Loading…
Cancel
Save