Skip to content
Myr

fix code block

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent 2efb565 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/security.rst+1 added-1 removed
215 unmodified lines
216For the session cookie, if ``session.permanent`` is set, then217:data:`SESSION_COOKIE_LIFETIME` is used to set the expiration. Flask's default218cookie implementation validates that the cryptographic signature is not older219than this value. Lowering this value may help mitigate replay attacks, where220intercepted cookies can be sent at a later time.220intercepted cookies can be sent at a later time. ::221222 app.config.update(223 PERMANENT_SESSION_LIFETIME=600224 )
26 unmodified lines