From 1dc46a48ec99efc0a8314557edef73440b66a744 Mon Sep 17 00:00:00 2001 From: Laurent Lienher Date: Tue, 21 Feb 2023 12:15:18 +0100 Subject: [PATCH] Fix check connection --- src/auth/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/service.ts b/src/auth/service.ts index 1484a29dcfcb..edfef7ba6ea0 100644 --- a/src/auth/service.ts +++ b/src/auth/service.ts @@ -128,7 +128,7 @@ export class AuthenticationService { * @private */ checkConnection_(): void { - if (this.user_.username && this.user_.is_password_changed) { + if (this.user_.username && this.user_.is_password_changed !== false) { const url = `${this.baseUrl_}/${RouteSuffix.IS_LOGGED_IN}`; const options: RequestInit = {method: 'GET', credentials: 'include'}; fetch(url, options)