This repository was archived by the owner on Nov 7, 2025. It is now read-only.
Commit 899f1fb
authored
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.1 parent e716c29 commit 899f1fb
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
267 | 273 | | |
268 | 274 | | |
269 | 275 | | |
| |||
0 commit comments