mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-17 07:45:52 +01:00
11 lines
246 B
JavaScript
11 lines
246 B
JavaScript
|
|
module.exports = function ( ) {
|
|
return {
|
|
authenticate ( user, pass, callback ) {
|
|
/* user and pass are used here to forward errors
|
|
and success types respectively for testing purposes */
|
|
callback(user, pass);
|
|
}
|
|
};
|
|
};
|