Skip to content

Commit

Permalink
Fix check connection
Browse files Browse the repository at this point in the history
  • Loading branch information
llienher committed Feb 21, 2023
1 parent 976c051 commit 1dc46a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1dc46a4

Please sign in to comment.