Psifi-Solutions / csrf-csrf

A utility package to help implement stateless CSRF protection using the Double Submit Cookie Pattern in express.
Other
123 stars 19 forks source link

feat: allow to override cookie's httpOnly flag #42

Closed felixmosh closed 1 year ago

felixmosh commented 1 year ago

closes #41

psibean commented 1 year ago

Awesome! Cheers.

I think for backwards compatibility in behaviour, we should probably set the default value for it to true as well.