Skip to content

Commit

Permalink
Fix Google reauthentication (hashicorp-forge#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfreda authored Jun 15, 2023
1 parent 4d20aa3 commit 8c7cd06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/app/services/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ export default class SessionService extends EmberSimpleAuthSessionService {
let isLoggedIn = this.requireAuthentication(null, () => {});
if (this.pollResponseIs401 || !isLoggedIn) {
this.tokenIsValid = false;
} else {
this.tokenIsValid = true;
}
}

Expand Down

0 comments on commit 8c7cd06

Please sign in to comment.