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

4 lines
130 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)
}