Skip to content

Commit 58af154

Browse files
committed
Fixes typo on variable 'required'
`require` is undefined. This corrects the spelling of the variable that is used to call `_revokeAccessTokenInternal()`
1 parent 807aa7a commit 58af154

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UserManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ export class UserManager extends OidcClient {
478478
var access_token = user.access_token;
479479
var refresh_token = user.refresh_token;
480480

481-
return this._revokeAccessTokenInternal(access_token, require)
481+
return this._revokeAccessTokenInternal(access_token, required)
482482
.then(atSuccess => {
483483
return this._revokeRefreshTokenInternal(refresh_token, required)
484484
.then(rtSuccess => {

0 commit comments

Comments
 (0)