Skip to content

Commit

Permalink
fix: remove npm-use-webauthn header (#53)
Browse files Browse the repository at this point in the history
The 'npm-auth-type' header set in the 'npm-registry-fetch' package will be used instead.
  • Loading branch information
jumoel authored Aug 2, 2022
1 parent cdc4acb commit b701df2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ const webAuth = (opener, opts, body) => {
...opts,
method: 'POST',
body,
headers: {
'npm-use-webauthn': opts.authType === 'webauthn',
},
}).then(res => {
return Promise.all([res, res.json()])
}).then(([res, content]) => {
Expand Down

0 comments on commit b701df2

Please sign in to comment.