mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
11 lines
256 B
JavaScript
11 lines
256 B
JavaScript
|
|
||
|
module.exports = function ( ) {
|
||
|
return {
|
||
|
authenticate( user, pass, callback ) {
|
||
|
// https://verdaccio.org/docs/en/dev-plugins#onsuccess
|
||
|
// this is a succesfull login and return a simple group
|
||
|
callback(null, ['test']);
|
||
|
}
|
||
|
};
|
||
|
};
|