maxcountryman / tower-sessions

🥠 Sessions as a `tower` and `axum` middleware.
MIT License
231 stars 42 forks source link

ensure `session.set_expiry` updates record #175

Closed maxcountryman closed 6 months ago

maxcountryman commented 6 months ago

This addresses a bug where using set_expiry after an expiry has been set would not update the underlying record and thus not update the actual cookie expiration.

Closes #174.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.24%. Comparing base (973a9da) to head (6758b41).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #175 +/- ## ========================================== + Coverage 80.18% 80.24% +0.06% ========================================== Files 5 5 Lines 323 324 +1 ========================================== + Hits 259 260 +1 Misses 64 64 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.