mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 19:48:12 +00:00

PR-URL: https://github.com/nodejs/node/pull/37606 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
9 lines
152 B
JavaScript
9 lines
152 B
JavaScript
const sso = require('./sso.js')
|
|
|
|
const login = (npm, opts) => {
|
|
npm.config.set('sso-type', 'oauth')
|
|
return sso(npm, opts)
|
|
}
|
|
|
|
module.exports = login
|