mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 18:27:19 +00:00
update password reset
This commit is contained in:
@@ -65,7 +65,7 @@ export const registerPasswordRouter = async (server: FastifyZodProvider) => {
|
|||||||
const appCfg = getConfig();
|
const appCfg = getConfig();
|
||||||
await server.services.password.changePassword({ ...req.body, userId: req.permission.id });
|
await server.services.password.changePassword({ ...req.body, userId: req.permission.id });
|
||||||
|
|
||||||
void res.cookie("jid", appCfg.COOKIE_SECRET_SIGN_KEY, {
|
void res.cookie("jid", "", {
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
path: "/",
|
path: "/",
|
||||||
sameSite: "strict",
|
sameSite: "strict",
|
||||||
|
|||||||
Reference in New Issue
Block a user