I wrote yidna's answer but it doesn't work in nopCommerce 4.6
in visual studio in debug mode , my custom login method not called and default login method ( in customer controller) called !!
anyone has any recommend ?
CustomOtpLoginModel) in Login method in our CustomCustomer contoller. Anyone has any idea that how we should override
/Loginroute to our custom route because method overriding is not route changing.
endpointRouteBuilder.MapControllerRoute(name: "MyCustomConfigurationRouteName",
pattern: "Login",
defaults: new { controller = "MyCustomController", action = "MyCustomMethod"});