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
Juan Picado 9f2a29a275 refactor: devDependencies strictly defined in each package (#1884)
* refactor: new babel preset

* chore: using pnpm

let's see how it goes, all seems works fine by far, pretty solid.
2021-04-09 17:54:11 +02:00

10 lines
245 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);
}
};
};