budibase/packages/server/utilities/injectedPlugins/disableUser.js

6 lines
147 B
JavaScript
Raw Normal View History

2019-07-09 08:29:50 +02:00
module.exports = ({ masterAppInternal, app }) => async ({ username }) => {
await masterAppInternal.disableUser(
app, username
);
}