Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(AuthenticationService): Broadcast noFederatedToken
Browse files Browse the repository at this point in the history
Broadcast noFederatedToken instead of authenticationError -- fixes #55.
  • Loading branch information
dlabrecq authored and joshuawilson committed May 1, 2017
1 parent dd87861 commit 05e0d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/auth/authentication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export class AuthenticationService {
.map(response => processToken(response))
.catch(response => {
if (response.status === 400) {
this.broadcaster.broadcast('authenticationError', res);
this.broadcaster.broadcast('noFederatedToken', res);
}
return Observable.of({} as Token);
})
Expand Down

0 comments on commit 05e0d1b

Please sign in to comment.