AnsweredAssumed Answered

How to redirect user to Change Password page in 6.5.X CE?

Question asked by Sohan Tirpude on Dec 8, 2014
Well, I am using after_login logic hook to redirect user after login to changepassword page, if he didn't change his password once in a three month. Now my code is working, but the problem is to redirect user to changepassword page. Now my code is working fine and I am using this code

 SugarApplication::redirect("index.php?module=Users&action=EditView&record=$user_id");

 to redirect user to change password page, but it is not working as it should. I am adding screenshot of screen.

I want only form to change password and nothing else above the form. Please help me soon.

Outcomes