diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-27 21:32:50 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-10-28 09:20:54 +0100 |
| commit | 845d8408e7aa09a63c98f160b2c6bc9fa6dbb20f (patch) | |
| tree | 75654d9552cb46094a57cb8ac726c24b2beba62c /docs/ref | |
| parent | c5da577b9e394b3b4696e4f4ca495c82951b6678 (diff) | |
[1.5.x] Added optional kwargs to get_expiry_age/date.
This change allows for cleaner tests: we can test the exact output.
Refs #18194: this change makes it possible to compute session expiry
dates at times other than when the session is saved.
Fixed #18458: the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).
Backport of cd17a24 from master.
Diffstat (limited to 'docs/ref')
0 files changed, 0 insertions, 0 deletions
