11 lines
288 B
JavaScript
Raw Normal View History

// This method is executed before the load of the plugin
const bootstrap = (plugin) => new Promise(resolve => {
// TODO add with saga
plugin.hasAdminUser = true;
2017-11-14 16:42:08 +01:00
plugin.nonProtectedUrl = '/plugins/users-permissions/auth';
return resolve(plugin);
});
export default bootstrap;