Problem after removing the plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 năm cách đây
Hi dear.
I overrided FormsAuthenticationService in my plugin for custom registeration.

The following form:
public class NewFormsAuthenticationService : FormsAuthenticationService
{
        public override void SignIn(Customer customer, bool createPersistentCookie)
        {
        }
}
As well as, I overrided CustomerController:    

public class NchCustomerController : CustomerController
    {
    }

When I delete the plugin,I can't log in anymore and still be used plugin.
I debug it,and i find out that Signin in my plugin runs insteadof original SignIn!

Please advice me,

Thanks.
[Best Regards]
7 năm cách đây
I registered new service:
            builder.RegisterType<NewFormsAuthenticationService>()
                 .As<IAuthenticationService>().InstancePerLifetimeScope();
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.