diff options
author | thejimmyg <devnull@localhost> | 2006-09-01 12:29:48 +0000 |
---|---|---|
committer | thejimmyg <devnull@localhost> | 2006-09-01 12:29:48 +0000 |
commit | 57418edee47bfb1c541b4d3162db41342e04ceeb (patch) | |
tree | 67e74b456b5c369b409fddccbd4a09a92939ab1d /paste/auth | |
parent | 2dcb0744b3c5897a09ff2d07a542f3e78d86c921 (diff) | |
download | paste-57418edee47bfb1c541b4d3162db41342e04ceeb.tar.gz |
Updated the docstring to specify the correct information for set_user and logout_user in the environ dictionary
Diffstat (limited to 'paste/auth')
-rw-r--r-- | paste/auth/auth_tkt.py | 4 |
1 files changed, 2 insertions, 2 deletions
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. """ |