Redirect in exit of menu

Hello all,
I have a control login that when the password is empty, redirect to the user to a form where the password is changed, in other case, redirect to the menu.
When the redirect is to the change password, when the user change the password is redirect to the main menu. Is in this case when at exit of the menu, not redirect to the login control, but to the change password form…

Graphicaly: Login => change password ==> Menu ========> change password
on exit

when the correct is : Login => change password => Menu =====> Login

How can i solve this problem???
Any idea??

Regards

Re: Redirect in exit of menu

Edit the item “Exit” and set to the login application.