WebStack/Resources/LoginRedirect.py | raw changeset files shortlog |
1.1 --- a/WebStack/Resources/LoginRedirect.py Tue Sep 21 14:43:19 2004 +0000 1.2 +++ b/WebStack/Resources/LoginRedirect.py Tue Sep 21 14:44:14 2004 +0000 1.3 @@ -146,7 +146,7 @@ 1.4 # Test the token from the cookie against a recreated token using the 1.5 # given information. 1.6 1.7 - username, code = cookie.value.split(":") 1.8 + username = cookie.value.split(":")[0] 1.9 if cookie.value == get_token(username, self.secret_key): 1.10 1.11 # Update the transaction with the user details.