Skip to content

Commit ac2da07

Browse files
authored
Merge pull request #1794 from MegaManSec/j3
fix: merge app cookie config into route cookie validator config
2 parents dd6fab3 + 30dfb08 commit ac2da07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compose.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ export const composeHandler = ({
16141614
// ! Get latest app.config.cookie
16151615
validator.cookie.config = mergeCookie(
16161616
validator.cookie.config,
1617-
validator.cookie?.config ?? {}
1617+
app.config.cookie ?? {}
16181618
)
16191619

16201620
fnLiteral +=

0 commit comments

Comments
 (0)