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

Commit

Permalink
fix(authreload): use correct token on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
dgutride authored and joshuawilson committed Apr 19, 2017
1 parent f56d5a5 commit e369492
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 @@ -67,7 +67,7 @@ export class AuthenticationService {
if (token) {
if (!this.clearTimeoutId) {
// kick off initial token refresh
this.refreshTokens.next({} as Token);
this.refreshTokens.next({"access_token": token} as Token);
this.setupRefreshTimer(15);
}
return true;
Expand Down

0 comments on commit e369492

Please sign in to comment.