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