Skip to content

Commit b701df2

Browse files
authoredAug 2, 2022
fix: remove npm-use-webauthn header (#53)
The 'npm-auth-type' header set in the 'npm-registry-fetch' package will be used instead.
1 parent cdc4acb commit b701df2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎lib/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ const webAuth = (opener, opts, body) => {
6161
...opts,
6262
method: 'POST',
6363
body,
64-
headers: {
65-
'npm-use-webauthn': opts.authType === 'webauthn',
66-
},
6764
}).then(res => {
6865
return Promise.all([res, res.json()])
6966
}).then(([res, content]) => {

0 commit comments

Comments
 (0)
Please sign in to comment.