Skip to content

Commit 68575fa

Browse files
author
Richard Jones
committed
[SF#535868] Anonymous User Login
Hrm, I re-read the intention of the web/email login stuff, and realised there was a quick fix.
1 parent 09c27f8 commit 68575fa

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Fixed:
1212
. htmltemplate do_menu with additional properties had problems when they
1313
weren't set
1414
. #562686 ] email attachments from outlook express
15+
. #535868 ] Anonymous User Login
1516

1617

1718
2002-06-24 0.4.2

roundup/cgi_client.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: cgi_client.py,v 1.129.2.1 2002-07-10 06:50:49 richard Exp $
18+
# $Id: cgi_client.py,v 1.129.2.2 2002-07-22 22:06:45 richard Exp $
1919

2020
__doc__ = """
2121
WWW request handler (also used in the stand-alone server).
@@ -1134,7 +1134,9 @@ def main(self):
11341134
try:
11351135
uid = self.db.user.lookup(user)
11361136
# now validate the password
1137-
if password != self.db.user.get(uid, 'password'):
1137+
if password == 'None':
1138+
user = 'anonymous'
1139+
elif password != self.db.user.get(uid, 'password'):
11381140
user = 'anonymous'
11391141
except KeyError:
11401142
user = 'anonymous'
@@ -1378,6 +1380,9 @@ def parsePropsFromForm(db, cl, form, nodeid=0):
13781380

13791381
#
13801382
# $Log: not supported by cvs2svn $
1383+
# Revision 1.129.2.1 2002/07/10 06:50:49 richard
1384+
# . #576241 ] MultiLink problems in parsePropsFromForm
1385+
#
13811386
# Revision 1.129 2002/06/20 23:52:11 richard
13821387
# Better handling of unauth attempt to edit stuff
13831388
#

0 commit comments

Comments
 (0)