From fe413dd0be44aae0f329b4e984a51a4c5ff2292c Mon Sep 17 00:00:00 2001 From: Wroud Date: Sun, 15 Nov 2020 22:02:36 +0300 Subject: [PATCH] fix(plugin-authentication): CB-493 authentication behavior --- .../plugin-authentication/src/AuthenticationService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/packages/plugin-authentication/src/AuthenticationService.ts b/webapp/packages/plugin-authentication/src/AuthenticationService.ts index 663d9e8bda..bb29557aaa 100644 --- a/webapp/packages/plugin-authentication/src/AuthenticationService.ts +++ b/webapp/packages/plugin-authentication/src/AuthenticationService.ts @@ -77,9 +77,9 @@ export class AuthenticationService extends Bootstrap { } register(): void { - this.appAuthService.auth.addPostHandler(async state => { + this.appAuthService.auth.addPostHandler(state => { if (!state) { - await this.requireAuthentication(); + this.requireAuthentication(); } }); this.appScreenService.activation.addHandler(() => this.requireAuthentication());