Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix login to admin console on Safari (#928)
Our Set-cookie was pretty legit: ``` quesma-session=...blah...; Path=/; Expires=Thu, 28 Nov 2024 20:59:59 GMT; Max-Age=2592000; Secure; SameSite=None ``` yet it was enigmatically rejected by Safari. Took me while but it turns out that for `localhost` Safari does not allow `Secure` cookie 😕 So now, `Set-Cookie` will be just `quesma-session=...blah...`. I think for this admin interface it's just fine - at least for now, when we don't really allow custom domains, ssl, etc.
- Loading branch information