diff --git a/config/auth.js b/config/auth.js index 9a99108..f5336f0 100644 --- a/config/auth.js +++ b/config/auth.js @@ -1,5 +1,7 @@ 'use strict' +const Env = use('Env') + module.exports = { /* |-------------------------------------------------------------------------- @@ -69,7 +71,7 @@ module.exports = { uid: 'email', password: 'password', options: { - secret: 'self::app.appKey' + secret: Env.get('APP_KEY') } } }