Skip to content

Commit

Permalink
Merge pull request #9012 from camptocamp/GSGMF-1936_fix_check_connection
Browse files Browse the repository at this point in the history
Fix check connection
  • Loading branch information
llienher authored Feb 21, 2023
2 parents 2133fce + 1dc46a4 commit febe349
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 febe349

Please sign in to comment.