]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix typo in docs.
authorBen Darnell <ben@bendarnell.com>
Tue, 11 Nov 2014 04:13:40 +0000 (23:13 -0500)
committerBen Darnell <ben@bendarnell.com>
Tue, 11 Nov 2014 04:13:40 +0000 (23:13 -0500)
Closes #1247.

docs/guide/security.rst

index d24a23db75f50ace24175249dcb66f13ad72551b..57a1cba7f2b239662595f28755a5a81ea1799ced 100644 (file)
@@ -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.