chore(auth): remove deprecated call
Closes https://github.com/adonisjs/adonis-fullstack-app/issues/17
This commit is contained in:
parent
3735f11f91
commit
6a18c62d31
|
@ -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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user