mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-24 08:54:05 +10:00
fixes #2151, apply secure cookie session only if using SSL (https)
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user