Slack.Automation/Promact.Erp.DomainModel/Models/IdentityConfig.cs
Method Create
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static ApplicationUserManager Create(IdentityFactoryOptions<ApplicationUserManager> options, IOwinContext context)
{
var manager = new ApplicationUserManager(new UserStore<ApplicationUser>(context.Get<PromactErpContext>()));
// Configure validation logic for usernames
manager.UserValidator = new UserValidator<ApplicationUser>(manager)