1
0
Files
pawkey-sk/packages/frontend
dakkar 6826e43ad7 make cookie a bit more secure - fixes #445
We can't make the cookie `HttpOnly` because we're setting it from
Javascript, but I'm not sure it's worth the trouble to redesign that:
`JSON.parse(localStorage.account).token` gives you the token anyway,
hiding the cookie from JS won't offer much protection.

At least we can mark is `Secure` (meaning, only send it over HTTPS)
and _delete it on logout_ (it wasn't!)
2024-03-10 10:26:04 +00:00
..
2024-03-02 16:36:49 +00:00
2024-02-13 15:59:27 +00:00
2024-02-01 17:31:04 +03:00
2024-02-19 10:47:42 +01:00
2024-02-13 15:59:27 +00:00
2024-03-02 16:36:49 +00:00
2024-03-02 16:36:49 +00:00
2024-02-03 20:19:44 +01:00
2024-01-21 13:11:23 +01:00