Fix the bug that you get logged out when refreshing the page sometimes -- I've noticed this on both Firefox and Safari. The token still exists (at least it's present in document.cookie
as jwt
), but for some reason it doesn't get sent anymore, so Lemmy thinks you've been logged out.
I've actually looked into this already, but didn't get very far, especially because it doesn't even happen all the time.
Honestly, just storing it in localStorage
instead of as a cookie might work ...