1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/test/unit/partials/plugin/authenticate.js
Juan Picado @jotadeveloper 7ce6abf3b2
chore: update flow to 0.75.0
2018-07-18 07:52:39 +02:00

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