Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(authService): initialize with stored responseObject
Browse files Browse the repository at this point in the history
  • Loading branch information
doktordirk committed Jun 4, 2016
1 parent 5a3aff0 commit d50f925
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/authService.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ export class AuthService {
this.setResponseObject(fakeOldResponse);
authentication.storage.remove(oldStorageKey);
}

// initialize status by resetting if existing stored responseObject
this.setResponseObject(this.authentication.getResponseObject());
}

/**
Expand Down

0 comments on commit d50f925

Please sign in to comment.