Redirection to Home dashboard in Forgot Password Module

‘’Hi, I had implemented the forgot password functionality in my application using the ForgotPassword module. It is working fine, the issue that I am facing is after resetting the password a confirmation message page is shown (known as Reset Page- in the ForgotPassword module) which has some jquery code in the HTML snippet which should the home page for the respective based on the role instead it displays  the following message: The code: (In HTML snippet)   function doReload() {    setTimeout(function(){ $(".mx-name-loginbtn").click(); }, 800);     }   doReload();   There was question asked on Forum for this, but there was no answer for it Reference: On clicking of the Login button it directs the user to login page and from where the user can sign in to the application.
0 answers