redirect user to login when session expired

This commit is contained in:
EQUILIBRIUM\hirondino.van-dunem
2022-06-10 14:52:05 +01:00
parent 64a27f0bb1
commit 6895b58930
3 changed files with 14 additions and 6 deletions
+4 -2
View File
@@ -12,7 +12,8 @@ import { SqliteService } from 'src/app/services/sqlite.service';
import { BackgroundService } from 'src/app/services/background.service';
import { ScreenOrientation } from '@ionic-native/screen-orientation/ngx';
import { StorageService } from 'src/app/services/storage.service';
import { MessageModel } from './models/beast-orm'
import { MessageModel } from './models/beast-orm';
import { InativityService } from "src/app/services/inativity.service";
const CUSTOM_DATE_FORMATS: NgxMatDateFormats = {
parse: {
@@ -43,7 +44,8 @@ export class AppComponent {
private screenOrientation: ScreenOrientation,
private sqliteservice: SqliteService,
private backgroundservice: BackgroundService,
private storageservice: StorageService
private storageservice: StorageService,
private InativityService: InativityService
) {
// this.createCacheFolder()
this.initializeApp();