<20230920203441.266523-1-ch@bitfehler.net>
By dropping some of the less likely-to-be-used items. --- srht/flask.py | 1 + 1 file changed, 1 insertion(+) diff --git a/srht/flask.py b/srht/flask.py index fee67de..e6c3a90 100644 --- a/srht/flask.py +++ b/srht/flask.py @@ -445,6 +445,7 @@ class SrhtFlask(Flask): else: # Set user info cookie user_info = g.current_user.to_dict(first_party=True) + user_info = {k:v for k,v in user_info.items() if k not in ['bio', 'location', 'url']} user_info = json.dumps(user_info) response.set_cookie(cookie_key, fernet.encrypt(user_info.encode()).decode(), -- 2.42.0
<CVO19VS020P5.BXK2CHY2T92A@cirno2>
<20230920203441.266523-1-ch@bitfehler.net>
(view parent)
core.sr.ht/patches: FAILED in 5m5s [Reduce unified login cookie size][0] from [Conrad Hoffmann][1] [0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/44909 [1]: ch@bitfehler.net ✗ #1060505 FAILED core.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/1060505 ✓ #1060504 SUCCESS core.sr.ht/patches/alpine.yml https://builds.sr.ht/~sircmpwn/job/1060504 ✓ #1060506 SUCCESS core.sr.ht/patches/debian.yml https://builds.sr.ht/~sircmpwn/job/1060506
<CVOGTHF1XRBF.2F0G1T3U9WO54@taiga>
<20230920203441.266523-1-ch@bitfehler.net>
(view parent)
Thanks! To git@git.sr.ht:~sircmpwn/core.sr.ht 5e33dbc..9d194be master -> master