const Env = use('Env')
module.exports = {
// available options are file, cookie, redis
driver: Env.get('SESSION_DRIVER', 'cookie'),
// configuration settings for whichever driver you choose
redis: Env.get('REDIS_URL', 'redis://localhost:6379'),
cookie: 'adonis-session',
file: {
directory: 'sessions'
}
// other settings
age: 120,
clearWithBrowser: false,
httpOnly: true,
sameSite: true,
domain: null,
path: '/',
secure: false,
}