From 29b8334b060dc0c05a509d523ead4b3a30229fef Mon Sep 17 00:00:00 2001 From: vantezzen Date: Thu, 5 Sep 2019 11:22:49 +0200 Subject: Add eslint --- config/auth.js | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'config/auth.js') diff --git a/config/auth.js b/config/auth.js index c70db3f..b831b06 100644 --- a/config/auth.js +++ b/config/auth.js @@ -1,7 +1,6 @@ -'use strict' /** @type {import('@adonisjs/framework/src/Env')} */ -const Env = use('Env') +const Env = use('Env'); module.exports = { /* @@ -32,7 +31,7 @@ module.exports = { model: 'App/Models/User', scheme: 'session', uid: 'email', - password: 'password' + password: 'password', }, /* @@ -53,7 +52,7 @@ module.exports = { model: 'App/Models/User', scheme: 'basic', uid: 'email', - password: 'password' + password: 'password', }, /* @@ -72,8 +71,8 @@ module.exports = { uid: 'email', password: 'password', options: { - secret: Env.get('APP_KEY') - } + secret: Env.get('APP_KEY'), + }, }, /* @@ -89,6 +88,6 @@ module.exports = { model: 'App/Models/User', scheme: 'api', uid: 'email', - password: 'password' - } -} + password: 'password', + }, +}; -- cgit v1.2.3-70-g09d2