diff roundup/cgi/client.py @ 1538:3fb2872f9b7d

bugfixes to rego/password reset
author Richard Jones <richard@users.sourceforge.net>
date Thu, 20 Mar 2003 04:02:52 +0000
parents f0208e139234
children 68ef6deefcf1
line wrap: on
line diff
--- a/roundup/cgi/client.py	Wed Mar 19 05:18:11 2003 +0000
+++ b/roundup/cgi/client.py	Thu Mar 20 04:02:52 2003 +0000
@@ -1,4 +1,4 @@
-# $Id: client.py,v 1.108 2003-03-19 02:50:40 richard Exp $
+# $Id: client.py,v 1.109 2003-03-20 04:02:52 richard Exp $
 
 __doc__ = """
 WWW request handler (also used in the stand-alone server).
@@ -787,7 +787,7 @@
                 return 0
             except smtplib.SMTPException, msg:
                 self.error_message.append("Error: couldn't send email: %s"%msg)
-            return 0
+                return 0
         return 1
 
     def registerPermission(self, props):
@@ -855,8 +855,8 @@
         message = _('You are now registered, welcome!')
 
         # redirect to the user's page
-        raise Redirect, '%suser%s?@ok_message=%s&@template=%s'%(self.base,
-            self.userid, urllib.quote(message), urllib.quote(self.template))
+        raise Redirect, '%suser%s?@ok_message=%s'%(self.base,
+            self.userid, urllib.quote(message))
 
     def passResetAction(self):
         ''' Handle password reset requests.

Roundup Issue Tracker: http://roundup-tracker.org/