Promact/slack-erp-custom-integration-mvc

View on GitHub
Slack.Automation/Promact.Erp.DomainModel/Models/IdentityConfig.cs

Summary

Maintainability
A
1 hr
Test Coverage

Method Create has 37 lines of code (exceeds 25 allowed). Consider refactoring.
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)
Severity: Minor
Found in Slack.Automation/Promact.Erp.DomainModel/Models/IdentityConfig.cs - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status