fixes #2151, apply secure cookie session only if using SSL (https)

This commit is contained in:
Amruth Pillai
2025-01-14 09:45:57 +01:00
parent 21af624096
commit a32def2086
122 changed files with 721 additions and 669 deletions
@@ -1,5 +1,6 @@
import { createParamDecorator, ExecutionContext } from "@nestjs/common";
import { UserWithSecrets } from "@reactive-resume/dto";
import type { ExecutionContext } from "@nestjs/common";
import { createParamDecorator } from "@nestjs/common";
import type { UserWithSecrets } from "@reactive-resume/dto";
export const User = createParamDecorator(
(data: keyof UserWithSecrets | undefined, ctx: ExecutionContext) => {