mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 16:59:27 +08:00
Follow-up to #625: login's two set_cookie calls and logout's delete_cookie now share one _cookie_attrs() helper, so the create/delete attribute sets can never drift apart again (the drift that caused #623). Reads module globals at call time to keep the regression tests' monkeypatching working. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>