hapijs/cookie

Bug in readme.md (example code)

Tobais opened this issue · 2 comments

In server.auth.strategy(), where is
const account = internals.users.find((user) => (user.id = session.id));

should be
const account = internals.users.find((user) => (user.id === session.id));

Would you like to submit a PR for it?

lock commented

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.