message: Hide passwords from epilogue api
diff: @@ -217,12 +217,23 @@ app.use(verify.databaseRelatedChallenges())
  /* Generated API endpoints */
  epilogue.initialize({ app, sequelize: models.sequelize })
  -const autoModels = ['User', 'Product', 'Feedback', 'BasketItem', 'Challenge', 'Complaint', 'Recycle', 'SecurityQuestion', 'SecurityAnswer']
  -
  -for (const modelName of autoModels) {
  +const autoModels = [
  + { name: 'User', exclude: ['password'] },
  + { name: 'Product', exclude: [] },
  + { name: 'Feedback', exclude: [] },
  + { name: 'BasketItem', exclude: [] },
  + { name: 'Challenge', exclude: [] },
  + { name: 'Complaint', exclude: [] },
  + { name: 'Recycle', exclude: [] },
  + { name: 'SecurityQuestion', exclude: [] },
  + { name: 'SecurityAnswer', exclude: [] }
  +]
  +
  +for (const { name, exclude } of autoModels) {
  const resource = epilogue.resource({
  - model: models[modelName],
  - endpoints: [`/api/${modelName}s`, `/api/${modelName}s/:id`]
  + model: models[name],
  + endpoints: [`/api/${name}s`, `/api/${name}s/:id`],
  + excludeAttributes: exclude
  })
  // fix the api difference between epilogue and previously used sequlize-restful
  