hapijs / cookie

Cookie authentication plugin
Other
229 stars 100 forks source link

Bug in readme.md (example code) #216

Closed Tobais closed 5 years ago

Tobais commented 5 years ago

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));

Nargonath commented 5 years ago

Would you like to submit a PR for it?

lock[bot] commented 4 years ago

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.