chore(auth): remove deprecated call

Closes https://github.com/adonisjs/adonis-fullstack-app/issues/17
This commit is contained in:
Romain Lanz 2018-04-10 17:21:12 +02:00 committed by Harminder
parent 3735f11f91
commit 6a18c62d31

View File

@ -1,5 +1,7 @@
'use strict' 'use strict'
const Env = use('Env')
module.exports = { module.exports = {
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@ -69,7 +71,7 @@ module.exports = {
uid: 'email', uid: 'email',
password: 'password', password: 'password',
options: { options: {
secret: 'self::app.appKey' secret: Env.get('APP_KEY')
} }
} }
} }