mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-02-03 23:09:17 -05:00
bae430fe24
chore: clean up comments remove commitlint update deps add new tests test separate ci test test test test test test chore: add preprelase test test test test test chore: update deps Update release-snapshot.yml Update .npmignore test chore: remove @verdaccio/commons-api dep chore: cleanup remove normalizeContributors remove validateMetadata fix test clean up getLocalRegistryTarballUri Update store.spec.ts clean up convertDistRemoteToLocalTarballUrls chore: update libraries reuse getPublic url clean up Update jest.config.js Update jest.config.js update nvmrc add tests
11 lines
322 B
JavaScript
11 lines
322 B
JavaScript
import { errorUtils } from '@verdaccio/core';
|
|
|
|
module.exports = function ( ) {
|
|
return {
|
|
authenticate( user, pass, callback ) {
|
|
// we return an 500 error, the second argument must be false.
|
|
// https://verdaccio.org/docs/en/dev-plugins#onerror
|
|
callback(errorUtils.getInternalError(), false);
|
|
}
|
|
};
|
|
};
|