0
holoncom created
Hello,
After following the forgot password?
link and submitting an email address, the controller action returns JSON instead of a View. Causing the browser to print the json. Instead, I would expect some kind of confirmation view or at least a redirect to login.
What is the reason for this?
Regards
2 Answer(s)
-
0
Hi, are you using Angular or Jquery? also, what version of ANZ you are using?
-
0
If you are using Jquery version, JSON response is handled in the js.
See https://github.com/aspnetzero/aspnet-zero-core/blob/574ce89a4fc991938bcc47c63b2ba121bedd19a8/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/wwwroot/view-resources/Views/Account/ForgotPassword.js#L18-L38