Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit a18d835

Browse files
fixed nasty user auth issue
1 parent 03b0e54 commit a18d835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/services/users/users.hooks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { authenticate } = require('feathers-authentication').hooks;
1+
// const { authenticate } = require('feathers-authentication').hooks;
22
const { isProvider, when, iff, discard, populate, disableMultiItemChange, lowerCase } = require('feathers-hooks-common');
33
const { restrictToOwner } = require('feathers-authentication-hooks');
44
const { addVerification, removeVerification } = require('feathers-authentication-management').hooks;
@@ -96,7 +96,7 @@ const thumbnailOptions = {
9696
module.exports = {
9797
before: {
9898
all: [
99-
authenticate('jwt'),
99+
// authenticate('jwt'),
100100
search(),
101101
search({ // regex search on given fields
102102
fields: ['name', 'email']

0 commit comments

Comments
 (0)