pixelmund / svelte-kit-cookie-session

⚒️ Encrypted "stateless" cookie sessions for SvelteKit
MIT License
182 stars 11 forks source link

Expose "secure" as a cookie option #27

Closed seantimm closed 2 years ago

seantimm commented 2 years ago

Looks like the underlying cookie library already has support for it, but the "secure" option isn't currently exposed.

pixelmund commented 2 years ago

Hey this should now work in 2.0.4

seantimm commented 2 years ago

Thanks! I think the values for these new options need added to the makeCookie function for it to work.

pixelmund commented 2 years ago

I'm sorry missed that, it should be fixed in 2.0.5 now!

seantimm commented 2 years ago

Working great now - thanks!