mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
24 lines
569 B
TypeScript
24 lines
569 B
TypeScript
import path from 'path';
|
|
|
|
import { getDefaultConfig } from '@verdaccio/config';
|
|
|
|
export const authProfileConf = {
|
|
...getDefaultConfig(),
|
|
auth: {
|
|
[`${path.join(__dirname, '../partials/plugin/authenticate.success')}`]: {},
|
|
},
|
|
};
|
|
|
|
export const authPluginFailureConf = {
|
|
...getDefaultConfig(),
|
|
auth: {
|
|
[`${path.join(__dirname, '../partials/plugin/authenticate.fail.js')}`]: {},
|
|
},
|
|
};
|
|
|
|
export const authPluginPassThrougConf = {
|
|
...getDefaultConfig(),
|
|
auth: {
|
|
[`${path.join(__dirname, '../partials/plugin/authenticate.passthroug')}`]: {},
|
|
},
|
|
};
|