We're currently using the Logout.java action that's detailed in this forum post:
https://forum.mendixcloud.com/link/questions/6759
When the customer logs out they are redirected to the login.html page in the theme folder of the app.
We want to change the behaviour so that logging out will redirect the customer to different pages depending on what page they are currently viewing; can anyone tell me how to modify the java action or take a different approach to achieve this?