Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Commit

Permalink
Add 'to be deprecated' comment to default _auth support
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jul 15, 2014
1 parent ed42b85 commit a6be9a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/get-credentials-by-uri.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ function getCredentialsByURI (uri) {

// Handle the old-style _auth=<base64> style for the default
// registry, if set.
//
// XXX(isaacs): Remove when npm 1.4 is no longer relevant
var authDef = this.get("_auth")
var userDef = this.get("username")
var passDef = this.get("_password")
Expand Down

0 comments on commit a6be9a5

Please sign in to comment.