mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
ddb42431d1
* build: configure pretter as formatter for most files * chore: reformat code (#1931) * chore: re-format all files * chore: force run quality anaylsis test Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com> Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
9 lines
253 B
JavaScript
9 lines
253 B
JavaScript
module.exports = function () {
|
|
return {
|
|
authenticate(user, pass, callback) {
|
|
// https://verdaccio.org/docs/en/dev-plugins#onsuccess
|
|
// this is a successful login and return a simple group
|
|
callback(null, ['test']);
|
|
},
|
|
};
|
|
};
|