feathers-authentication
Advanced tools
Comparing version 0.8.0-alpha to 0.8.0-alpha-1
@@ -53,4 +53,6 @@ 'use strict'; | ||
if (error) { | ||
// Return a 401 if the token has expired or is invalid. | ||
return next(new _feathersErrors2.default.NotAuthenticated(error)); | ||
// If the token errors then we won't have a payload so we can | ||
// just proceed. The actual verification should be done by | ||
// the restrictToAuthenticated middleware or hook. | ||
return next(); | ||
} | ||
@@ -57,0 +59,0 @@ |
{ | ||
"name": "feathers-authentication", | ||
"description": "Add Authentication to your FeathersJS app.", | ||
"version": "0.8.0-alpha", | ||
"version": "0.8.0-alpha-1", | ||
"homepage": "https://github.com/feathersjs/feathers-authentication", | ||
@@ -6,0 +6,0 @@ "main": "lib/", |
140186
2328