Skip to content

Commit

Permalink
fix: clean require 2fa (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
soldair authored and bcoe committed Dec 18, 2019
1 parent 1a3ec1b commit c5a4fef
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib/packument.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,11 @@ export const require2fa = (packageName: string, token: string, otpCode: string):
'content-type': 'application/json',
'content-length': toWrite.length,
'npm-otp': otpCode,
'npm-session': 'e7af7de30c9072fb', // Date.now().toString(36),
'user-agent': 'npm/6.4.1 node/v10.13.0 linux x64',
'npm-session': Date.now().toString(36),
'user-agent': 'wombat-dressing-room',
'version': '6.4.1',
'accept-encoding': 'gzip',
'npm-in-ci': 'false',
'npm-scope': '@soldair-robot'
'npm-in-ci': 'false'
}
});

Expand Down

0 comments on commit c5a4fef

Please sign in to comment.