D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
lib
/
auth
/
Filename :
oauth.js
back
Copy
var ssoAuth = require('./sso') var npm = require('../npm') module.exports.login = function login () { npm.config.set('sso-type', 'oauth') ssoAuth.login.apply(this, arguments) }