Mercurial > p > roundup > code
changeset 896:8d6f02962731 maint-0.4
[SF#535868] Anonymous User Login
Hrm, I re-read the intention of the web/email login stuff, and
realised there was a quick fix.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 22 Jul 2002 22:06:45 +0000 |
| parents | c06dc334d81d |
| children | 65090a899a19 |
| files | CHANGES.txt roundup/cgi_client.py |
| diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Mon Jul 22 22:03:01 2002 +0000 +++ b/CHANGES.txt Mon Jul 22 22:06:45 2002 +0000 @@ -12,6 +12,7 @@ . htmltemplate do_menu with additional properties had problems when they weren't set . #562686 ] email attachments from outlook express + . #535868 ] Anonymous User Login 2002-06-24 0.4.2
--- a/roundup/cgi_client.py Mon Jul 22 22:03:01 2002 +0000 +++ b/roundup/cgi_client.py Mon Jul 22 22:06:45 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: cgi_client.py,v 1.129.2.1 2002-07-10 06:50:49 richard Exp $ +# $Id: cgi_client.py,v 1.129.2.2 2002-07-22 22:06:45 richard Exp $ __doc__ = """ WWW request handler (also used in the stand-alone server). @@ -1134,7 +1134,9 @@ try: uid = self.db.user.lookup(user) # now validate the password - if password != self.db.user.get(uid, 'password'): + if password == 'None': + user = 'anonymous' + elif password != self.db.user.get(uid, 'password'): user = 'anonymous' except KeyError: user = 'anonymous' @@ -1378,6 +1380,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.129.2.1 2002/07/10 06:50:49 richard +# . #576241 ] MultiLink problems in parsePropsFromForm +# # Revision 1.129 2002/06/20 23:52:11 richard # Better handling of unauth attempt to edit stuff #
