Closed Tobais closed 5 years ago
In server.auth.strategy(), where is const account = internals.users.find((user) => (user.id = session.id));
const account = internals.users.find((user) => (user.id = session.id));
should be const account = internals.users.find((user) => (user.id === session.id));
const account = internals.users.find((user) => (user.id === session.id));
Would you like to submit a PR for it?
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.
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));