I am having a little issue with the ion-back-button where if I do a manual route to the login page (e.g. someone clicks ‘logout’) it shows the back button ok but on press sends you back to the member area, which is now not allowed. I guess this makes sense as its just going back in the history, but is there a way to either force the back button path in that instance or remove it all together?
I am just using the default back button as so:
<ion-buttons slot="start"> <ion-back-button defaultHref="home"></ion-back-button> </ion-buttons>
Has anyone had this issue?