1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-17 07:45:52 +01:00
verdaccio/test/unit/partials/plugin/authenticate.passthroug.js

11 lines
245 B
JavaScript
Raw Normal View History

module.exports = function ( ) {
return {
2018-07-14 12:16:27 +02:00
authenticate( user, pass, callback ) {
/* user and pass are used here to forward errors
and success types respectively for testing purposes */
callback(user, pass);
}
};
};