From 1c35b98f0bcb1a1362cdfb1663992e6526e63a67 Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 1 Aug 2017 08:39:42 -0700 Subject: [PATCH] fix code block --- docs/security.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/security.rst b/docs/security.rst index d1ce6515..fe1351ad 100644 --- a/docs/security.rst +++ b/docs/security.rst @@ -217,7 +217,7 @@ For the session cookie, if ``session.permanent`` is set, then :data:`SESSION_COOKIE_LIFETIME` is used to set the expiration. Flask's default cookie implementation validates that the cryptographic signature is not older than this value. Lowering this value may help mitigate replay attacks, where -intercepted cookies can be sent at a later time. +intercepted cookies can be sent at a later time. :: app.config.update( PERMANENT_SESSION_LIFETIME=600