tra-analysis/website/node_modules/npm/lib/auth/oauth.js

8 lines
182 B
JavaScript
Raw Normal View History

2019-01-06 19:14:45 +00:00
var ssoAuth = require('./sso')
var npm = require('../npm')
module.exports.login = function login () {
npm.config.set('sso-type', 'oauth')
ssoAuth.login.apply(this, arguments)
}