1.1 --- a/examples/Common/Login/__init__.py Sun May 30 15:58:49 2004 +0000
1.2 +++ b/examples/Common/Login/__init__.py Sun May 30 16:40:26 2004 +0000
1.3 @@ -42,6 +42,7 @@
1.4 if fields_body.has_key("login"):
1.5 if self.authenticator.authenticate(trans):
1.6 self._redirect(trans, redirect)
1.7 + return
1.8
1.9 # Otherwise, show the login form.
1.10
1.11 @@ -151,7 +152,7 @@
1.12
1.13 def set_token(self, trans, username):
1.14
1.15 - "Set an authentication in the 'trans' with the given 'username'."
1.16 + "Set an authentication token in 'trans' with the given 'username'."
1.17
1.18 trans.set_cookie_value(
1.19 self.cookie_name,