Skip to content

Commit

Permalink
fix(refresh scheme): remove unnecessary param
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed Mar 9, 2020
1 parent 46ceb2b commit 29c678e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schemes/refresh.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default class RefreshScheme extends LocalScheme {
// Update refresh token expiration
if (this.options.refreshToken.maxAge) {
if (!this.tokenStatus.getRefreshTokenExpiration() || hasRefreshTokenChanged) {
this.tokenStatus.updateRefreshTokenExpiration(result)
this.tokenStatus.updateRefreshTokenExpiration()
}
}
}
Expand Down

0 comments on commit 29c678e

Please sign in to comment.