Changeset 149

Show
Ignore:
Timestamp:
03/14/08 14:21:49
Author:
thejimmyg
Message:

Fixed user tokens hopefully #17

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AuthKit/trunk/authkit/authenticate/cookie.py

    r145 r149  
    370370                    environ['paste.auth_tkt.timestamp'] = timestamp 
    371371            # End changes from the default 
    372              
    373             tokens = ','.join(tokens) 
    374372            environ['REMOTE_USER'] = userid 
    375373            if environ.get('REMOTE_USER_TOKENS'): 
     
    402400 
    403401    def set_user_cookie(self, environ, userid, tokens, user_data): 
    404         if not isinstance(tokens, basestring): 
    405             tokens = ','.join(tokens) 
    406402        if self.include_ip: 
    407403            # Fixes ticket #30