mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
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']);
|
|
}
|
|
};
|
|
};
|