Skip to content

Commit

Permalink
[MS] Fix client area login access condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Ironicbay committed Sep 10, 2024
1 parent 633ce62 commit fb95176
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/services/bms/access.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ class BmsAccess {
}

private tokenIsExpired(token: AuthenticationToken): boolean {
if (token === undefined) {
return true;
}
const tokenData = decodeToken(token);
if (!tokenData) {
return true;
Expand Down

0 comments on commit fb95176

Please sign in to comment.