From 3832a51d55d60622fddb849493e6b6977b3277be Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 18 Apr 2019 10:06:33 -0400 Subject: [PATCH] handle new auth guard auth blocked message --- jslib | 2 +- src/app/app.component.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jslib b/jslib index 37d9afc5..bc43c68e 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 37d9afc58bf4a27b9bafe5c485d6a1f9fb06f91b +Subproject commit bc43c68eb98799c8b9e30a1dd8f60431dc1236c6 diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 2d8e6738..08722fa9 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -123,6 +123,9 @@ export class AppComponent implements OnInit { this.systemService.startProcessReload(); await this.systemService.clearPendingClipboard(); break; + case 'authBlocked': + this.router.navigate(['login']); + break; case 'logout': this.logOut(!!message.expired); break;