This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Description
From https://github.com/hapijs/yar
Starting with Hapi 12 the request.session placeholder was removed.
The guidance from Hapi maintainer Eran Hammer was for this and similar modules to move data storage away from request.session and use a more unique location. So, starting in 6.x.x the yar storage has been moved to request.yar
My solution:
index.js line 201 should be:
request.yar.lazy(true);
index.js line 206 should be:
session: request.yar,
Maybe you prefer a different approach to solve the issue