mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
9fc2e79611
* feat(plugin): implement scope package support plugins * feat(plugin): improve plugin loader * chore: fix build * chore: cover config path case * chore: async ui thene plugin * chore: store async plugin * chore: refactor plugin loader auth * feat: filter refactoring * chore: remove old plugin loader * chore: add changeset * chore: add docs * chore: refactor relative plugin loader * Update user.jwt.spec.ts * Update user.jwt.spec.ts
9 lines
242 B
JavaScript
9 lines
242 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);
|
|
},
|
|
};
|
|
};
|