You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- error Error [TypeError]: Cannot read properties of undefined (reading 'value')
at getCookie (file:///home/runner/Notifications/node_modules/replit-login/dist/index.mjs:27:42)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async login (file:///home/runner/Notifications/node_modules/replit-login/dist/index.mjs:33:19)
at async handler (webpack-internal:///(api)/./pages/api/login.ts:21:23) {
digest: undefined
}
Code worked a couple weeks ago, now it doesn't. Also seems to be affecting Ironclad's repl, so it's not just me.
It seems like you're trying to grab the SID before logging in, which causes cookies['connect.sid] to be undefined in getCookie. I'm not exactly sure why you're not getting the cookie from the login request, so I can't really make a pr to fix it =/
The text was updated successfully, but these errors were encountered:
Code worked a couple weeks ago, now it doesn't. Also seems to be affecting Ironclad's repl, so it's not just me.
It seems like you're trying to grab the SID before logging in, which causes
cookies['connect.sid]
to beundefined
ingetCookie
. I'm not exactly sure why you're not getting the cookie from the login request, so I can't really make a pr to fix it =/The text was updated successfully, but these errors were encountered: