Skip to content
Myr

fix(cookie): `maxAge` should be positive (#1194)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* Allow setting cookie's maxAge to 0. * fix(cookie): `maxAge` should be positive * denoify ---------

authored by Yusuke Wada · committed by GitHub · parent 387d696 · Browse files · 3 files+10 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: David Manouchehri <david.manouchehri@ai.moda>

Diff stats

3 files+10 added−2 removed

  • tests:+8 added−0 removed
  • other:+2 added−2 removed

3 files+10 added−2 removed

modified:deno_dist/utils/cookie.ts+1 added-1 removed
modified:src/utils/cookie.test.ts+8 added
modified:src/utils/cookie.ts+1 added-1 removed