Skip to content

Commit

Permalink
fix(refresh scheme): reset Refresh Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed Mar 9, 2020
1 parent 29c678e commit b09de9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/schemes/refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export default class RefreshScheme extends LocalScheme {

async reset () {
this._clearToken()
this.refreshController.reset()

this.$auth.setUser(false)
this.$auth.setToken(this.name, false)
Expand Down

0 comments on commit b09de9a

Please sign in to comment.