Skip to content

Commit

Permalink
Merge branch 'dev' into decode-library-state
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnutter authored Apr 7, 2020
2 parents 1a6b7d3 + 8e54098 commit a6a045e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msal-angular/src/msal.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class MsalService extends UserAgentApplication {
for (var i = 0; i < router.config.length; i++) {
if (!router.config[i].canActivate) {
if (this.msalAngularConfig.unprotectedResources) {
if (!this.isUnprotectedResource(router.config[i].path) && !this.isEmpty(router.config[i].path)) {
if (!this.isEmpty(router.config[i].path) && !this.isUnprotectedResource(router.config[i].path)) {
this.msalAngularConfig.unprotectedResources.push(router.config[i].path);
}
}
Expand Down

0 comments on commit a6a045e

Please sign in to comment.