From 8e05164678d302700c794feecd50d83357f7719d Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 16 Mar 2017 15:50:10 +0100 Subject: feathers stuff --- src/services/authentication/index.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/services/authentication/index.js (limited to 'src/services/authentication') diff --git a/src/services/authentication/index.js b/src/services/authentication/index.js new file mode 100644 index 0000000..d5a66b5 --- /dev/null +++ b/src/services/authentication/index.js @@ -0,0 +1,14 @@ +'use strict'; + +const authentication = require('feathers-authentication'); + + +module.exports = function() { + const app = this; + + let config = app.get('auth'); + + + + app.configure(authentication(config)); +}; -- cgit v1.2.3-70-g09d2