oauth.js 182 B

1234567
  1. var ssoAuth = require('./sso')
  2. var npm = require('../npm')
  3. module.exports.login = function login () {
  4. npm.config.set('sso-type', 'oauth')
  5. ssoAuth.login.apply(this, arguments)
  6. }