Hey guys, just to inform you that in the Node.js code, section "Creating email/password sessions", maxAge: sesion.expire should be maxAge: session.expire,.
TL;DR
There's a typo in the Node.js code section "Creating email/password sessions" on the appwrite.io documentation. The correct code should be *maxAge: session.expire,* instead of *maxAge: sesion.expire*.