()
| 64 | } |
| 65 | |
| 66 | ngAfterContentChecked() { |
| 67 | this.appReadyService.trigger(); |
| 68 | |
| 69 | if ( window.location.hash && window.location.hash !== '#/login' |
| 70 | && window.event && window.event.type && window.event.type === 'error' ) { |
| 71 | this.logout(); |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | logout() { |
| 76 | this.authStore$.dispatch(new fromStore.PurgeAuth()); |