# HG changeset patch # User paulb # Date 1085935226 0 # Node ID d62e5d3e633ed5f51e3150e5bb6b942b7f8cf7db # Parent a2f3a6b21a3daeb833ce38e90054c5ce5c382de6 [project @ 2004-05-30 16:40:26 by paulb] Removed the login form from the login success page. Fixed documentation. diff -r a2f3a6b21a3d -r d62e5d3e633e examples/Common/Login/__init__.py --- a/examples/Common/Login/__init__.py Sun May 30 15:58:49 2004 +0000 +++ b/examples/Common/Login/__init__.py Sun May 30 16:40:26 2004 +0000 @@ -42,6 +42,7 @@ if fields_body.has_key("login"): if self.authenticator.authenticate(trans): self._redirect(trans, redirect) + return # Otherwise, show the login form. @@ -151,7 +152,7 @@ def set_token(self, trans, username): - "Set an authentication in the 'trans' with the given 'username'." + "Set an authentication token in 'trans' with the given 'username'." trans.set_cookie_value( self.cookie_name,