0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/packages/auth/test/partials/plugin/authenticate.passthroug.js

10 lines
242 B
JavaScript
Raw Normal View History

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);
},
};
};