From: Ben Darnell Date: Tue, 11 Nov 2014 04:13:40 +0000 (-0500) Subject: Fix typo in docs. X-Git-Tag: v4.1.0b1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a80d99d44d0fd09e941e9f5a48f1583fdd2f0de1;p=thirdparty%2Ftornado.git Fix typo in docs. Closes #1247. --- diff --git a/docs/guide/security.rst b/docs/guide/security.rst index d24a23db7..57a1cba7f 100644 --- a/docs/guide/security.rst +++ b/docs/guide/security.rst @@ -50,7 +50,7 @@ cookies. By default, Tornado's secure cookies expire after 30 days. To change this, use the ``expires_days`` keyword argument to ``set_secure_cookie`` *and* the -``max_age_days`` argument to ``set_secure_cookie``. These two values are +``max_age_days`` argument to ``get_secure_cookie``. These two values are passed separately so that you may e.g. have a cookie that is valid for 30 days for most purposes, but for certain sensitive actions (such as changing billing information) you use a smaller ``max_age_days`` when reading the cookie.