MOBILE-2333 mainmenu: Redirect to init if not logged in
parent
d98088f6a6
commit
97cd791659
|
@ -77,7 +77,7 @@ export class CoreMainMenuPage implements OnDestroy {
|
||||||
*/
|
*/
|
||||||
ionViewDidLoad(): void {
|
ionViewDidLoad(): void {
|
||||||
if (!this.sitesProvider.isLoggedIn()) {
|
if (!this.sitesProvider.isLoggedIn()) {
|
||||||
this.navCtrl.setRoot('CoreLoginSitesPage');
|
this.navCtrl.setRoot('CoreLoginInitPage');
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue