diff options
| author | Jules Laplace <jules@okfoc.us> | 2017-03-16 15:50:10 +0100 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2017-03-16 15:50:10 +0100 |
| commit | 8e05164678d302700c794feecd50d83357f7719d (patch) | |
| tree | ed5b167c75a2c4fdb5dcd8c409094b607698a0d5 /src/services/authentication | |
| parent | b8bfbbe14bdb72e4feccb4652c48f4cdb2a5e199 (diff) | |
feathers stuff
Diffstat (limited to 'src/services/authentication')
| -rw-r--r-- | src/services/authentication/index.js | 14 |
1 files changed, 14 insertions, 0 deletions
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)); +}; |
