monkey-front-core 0.0.536 → 0.0.537

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4896,9 +4896,7 @@ class MonkeyEcxAuthGuardByRole {
4896
4896
  this.securityCredentials = route.data?.securityCredentials;
4897
4897
  if (this.securityCredentials) {
4898
4898
  const { roles, byExclusion } = this.securityCredentials;
4899
- if (!this.tokenCredentials) {
4900
- this.tokenCredentials = await this.tokenStorage.getToken();
4901
- }
4899
+ this.tokenCredentials = await this.tokenStorage.getToken();
4902
4900
  if (!this.allowedSecurityAccess(roles, byExclusion)) {
4903
4901
  this.navigateToErrorPage();
4904
4902
  return false;