mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
handle unuath response from patchdb ws, clean up old files, better setting of auth state
This commit is contained in:
committed by
Aiden McClelland
parent
446da8fd81
commit
c3037d6251
@@ -9,7 +9,6 @@ import { Emver } from './services/emver.service'
|
||||
import { SplitPaneTracker } from './services/split-pane.service'
|
||||
import { ToastButton } from '@ionic/core'
|
||||
import { PatchDbService } from './services/patch-db/patch-db.service'
|
||||
import { HttpService } from './services/http.service'
|
||||
import { ServerStatus } from './services/patch-db/data-model'
|
||||
import { ConnectionFailure, ConnectionService } from './services/connection.service'
|
||||
import { StartupAlertsService } from './services/startup-alerts.service'
|
||||
@@ -69,7 +68,6 @@ export class AppComponent {
|
||||
private readonly authService: AuthService,
|
||||
private readonly router: Router,
|
||||
private readonly embassyApi: ApiService,
|
||||
private readonly http: HttpService,
|
||||
private readonly alertCtrl: AlertController,
|
||||
private readonly emver: Emver,
|
||||
private readonly connectionService: ConnectionService,
|
||||
@@ -141,10 +139,6 @@ export class AppComponent {
|
||||
this.router.navigate(['/login'], { replaceUrl: true })
|
||||
}
|
||||
})
|
||||
|
||||
this.http.watchUnauth$().subscribe(() => {
|
||||
this.authService.setUnverified()
|
||||
})
|
||||
}
|
||||
|
||||
async goToWebsite (): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user