Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
remove cookie path temporary
Maidul Islamc33b043f5f2c
diff --git a/backend/src/controllers/authController.ts b/backend/src/controllers/authController.tsindex 4522af9c65..20ac813d4d 100644--- a/backend/src/controllers/authController.ts+++ b/backend/src/controllers/authController.ts@@ -147,7 +147,7 @@ export const logout = async (req: Request, res: Response) => {// clear httpOnly cookieres.cookie('jid', '', {httpOnly: true,- path: '/token',+ path: '/',sameSite: 'strict',secure: NODE_ENV === 'production' ? true : false});