atcheck/lsscanner/new_ubuntu/node_modules/npm/lib/auth/oauth.js

8 lines
182 B
JavaScript

var ssoAuth = require('./sso')
var npm = require('../npm')
module.exports.login = function login () {
npm.config.set('sso-type', 'oauth')
ssoAuth.login.apply(this, arguments)
}