From 57418edee47bfb1c541b4d3162db41342e04ceeb Mon Sep 17 00:00:00 2001 From: thejimmyg Date: Fri, 1 Sep 2006 12:29:48 +0000 Subject: Updated the docstring to specify the correct information for set_user and logout_user in the environ dictionary --- paste/auth/auth_tkt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'paste/auth') diff --git a/paste/auth/auth_tkt.py b/paste/auth/auth_tkt.py index f61212a..999e8c7 100644 --- a/paste/auth/auth_tkt.py +++ b/paste/auth/auth_tkt.py @@ -215,13 +215,13 @@ class AuthTKTMiddleware(object): This also adds two functions to the request: - ``environ['set_user'](username, tokens='', user_data='')`` + ``environ['paste.auth_tkt.set_user'](userid, tokens='', user_data='')`` This sets a cookie that logs the user in. ``tokens`` is a string (comma-separated groups) or a list of strings. ``user_data`` is a string for your own use. - ``environ['logout_user']()`` + ``environ['paste.auth_tkt.logout_user']()`` Logs out the user. """ -- cgit v1.2.1