diff --git a/roundup/cgi_client.py b/roundup/cgi_client.py
index 4ce3bba1a2c969749475d0efe670f11e6c2a4382..7cb0ba2830ffc7674e2b68a5685f6f43cec25079 100644 (file)
--- a/roundup/cgi_client.py
+++ b/roundup/cgi_client.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: cgi_client.py,v 1.66 2001-11-27 03:00:50 richard Exp $
+# $Id: cgi_client.py,v 1.67 2001-11-28 21:55:35 richard Exp $
__doc__ = """
WWW request handler (also used in the stand-alone server).
return self.login(message=_('Incorrect password'))
self.set_cookie(self.user, password)
+ return None # make it explicit
def set_cookie(self, user, password):
# construct the cookie
self.user = cl.get(uid, 'username')
password = cl.get(uid, 'password')
self.set_cookie(self.user, self.form['password'].value)
- return self.index()
+ return None # make the None explicit
def main(self):
# determine the uid to use
# everyone is allowed to try to log in
if action == 'login_action':
# do the login
- self.login_action()
+ ret = self.login_action()
+ if ret is not None:
+ return ret
# figure the resulting page
action = self.form['__destination_url'].value
if not action:
else:
return self.login(action=action)
# add the user
- self.newuser_action()
+ ret = self.newuser_action()
+ if ret is not None:
+ return ret
# figure the resulting page
action = self.form['__destination_url'].value
if not action:
#
# $Log: not supported by cvs2svn $
+# Revision 1.66 2001/11/27 03:00:50 richard
+# couple of bugfixes from latest patch integration
+#
# Revision 1.65 2001/11/26 23:00:53 richard
# This config stuff is getting to be a real mess...
#