Skip to content

Commit

Permalink
fix(core): remove extra addTokenPrefix from auth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed Mar 16, 2020
1 parent 1639153 commit 66ee64e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions lib/core/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ export default class Auth {
})
}

addTokenPrefix (token) {
return this.options.token_type ? this.options.token_type + ' ' + token : token
}

// ---------------------------------------------------------------
// User helpers
// ---------------------------------------------------------------
Expand Down
2 changes: 0 additions & 2 deletions lib/module/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ module.exports = {
prefix: '_refresh_token_expiration.'
},

token_type: 'Bearer',

// -- Strategies --

defaultStrategy: undefined /* will be auto set at module level */,
Expand Down

0 comments on commit 66ee64e

Please sign in to comment.