Skip to content

Commit

Permalink
the check iwll already happen in islogin required
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysmithTTD committed Feb 18, 2025
1 parent 6fcb0d3 commit 6bea2a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/sdkBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,6 @@ export abstract class SdkBase {
}

public isLoginRequired() {
const identity = this._identity ?? this.getIdentityNoInit();
// if identity temporarily unavailable, login is not required
if (this.temporarilyUnavailable(identity)) {
return false;
}
return !this.isIdentityAvailable();
}

Expand Down

0 comments on commit 6bea2a5

Please sign in to comment.