mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
9f2a29a275
* refactor: new babel preset * chore: using pnpm let's see how it goes, all seems works fine by far, pretty solid.
10 lines
256 B
JavaScript
10 lines
256 B
JavaScript
|
|
module.exports = function ( ) {
|
|
return {
|
|
authenticate( user, pass, callback ) {
|
|
// https://verdaccio.org/docs/en/dev-plugins#onsuccess
|
|
// this is a successful login and return a simple group
|
|
callback(null, ['test']);
|
|
}
|
|
};
|
|
};
|