feathers-authentication
Advanced tools
Comparing version 0.8.0-alpha-2 to 0.8.0-alpha-3
@@ -17,3 +17,3 @@ 'use strict'; | ||
if (!hook.id) { | ||
if (hook.method === 'find') { | ||
throw new _feathersErrors2.default.MethodNotAllowed('The \'restrictToOwner\' hook should only be used on the \'get\', \'update\', \'patch\' and \'remove\' service methods.'); | ||
@@ -20,0 +20,0 @@ } |
{ | ||
"name": "feathers-authentication", | ||
"description": "Add Authentication to your FeathersJS app.", | ||
"version": "0.8.0-alpha-2", | ||
"version": "0.8.0-alpha-3", | ||
"homepage": "https://github.com/feathersjs/feathers-authentication", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
141495