Skip to content

Commit

Permalink
Ticket ## : Fix authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
thabart committed May 3, 2021
1 parent b312804 commit e0cc6e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class AppComponent implements OnInit {
this.oauthService.events.subscribe((e: any) => {
if (e.type === "logout") {
this.isConnected = false;
} else if (e.type === "token_received") {
} else if (e.type === "user_profile_loaded") {
this.init();
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/CaseManagement.Website/angularApp/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class AppComponent implements OnInit {
this.oauthService.events.subscribe((e: any) => {
if (e.type === "logout") {
this.isConnected = false;
} else if (e.type === "token_received") {
} else if (e.type === "user_profile_loaded") {
this.init();
}
});
Expand Down

0 comments on commit e0cc6e4

Please sign in to comment.