I use createEmailPasswordSession in node-appwriter to get a session secret which I then store in the cookies. Then I create a SessionClient with the session secret from the cookies and try to do new Accoint(sessionClient).deleteSession(/* the session from the cookies */); but it returns ths error
If you want to delete the current session, you should use deleteSession('current')
oh my god im stupid ive been trying to fix this for ages
but just now i realized
this probably means it worked, right? 😭
Yeah, this means that the user isn't currently logged in
bruuuuh 😭
well, thank you x3
Recommended threads
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...