Files
portfolio2023/node_modules/@adonisjs/session/build/instructions.md
T
2023-11-24 22:35:41 +01:00

11 lines
440 B
Markdown

The package has been configured successfully. The session configuration stored inside `config/session.ts` file relies on the following environment variables and hence we recommend validating them.
Open the `env.ts` file and paste the following code inside the `Env.rules` object.
```ts
SESSION_DRIVER: Env.schema.string()
```
- Here we expect the `SESSION_DRIVER` environment variable to be always present
- And should be a valid string