Permalink
Browse files

removing commented out test code

  • Loading branch information...
1 parent 0d1653f commit a8cc069fdadeb7fded6e37cda8971634d61727ee @ekryski ekryski committed Dec 14, 2016
Showing with 0 additions and 11 deletions.
  1. +0 −11 test/fixtures/server.js
@@ -17,16 +17,6 @@ const User = {
permissions: ['*']
};
-// function customizeJWTPayload() {
-// return function(hook) {
-// hook.data.payload = {
-// id: hook.params.user.id
-// };
-
-// return Promise.resolve(hook);
-// };
-// }
-
export default function (settings, socketProvider) {
const app = feathers();
@@ -51,7 +41,6 @@ export default function (settings, socketProvider) {
before: {
create: [
auth.hooks.authenticate(['jwt', 'local', 'org-local'])
- // customizeJWTPayload()
],
remove: [
auth.hooks.authenticate('jwt')

0 comments on commit a8cc069

Please sign in to comment.