comparison roundup/cgi/client.py @ 1856:7c84534aec13

Add a note to the 'Invalid One Time Key' message... ...about Mozilla double-loading the page [SF#827533].
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Wed, 22 Oct 2003 16:47:55 +0000
parents 4ac11e7fa11a
children dc6f2155e5b4
comparison
equal deleted inserted replaced
1855:8b840f8626fb 1856:7c84534aec13
1 # $Id: client.py,v 1.141 2003-10-04 11:21:47 jlgijsbers Exp $ 1 # $Id: client.py,v 1.142 2003-10-22 16:47:55 jlgijsbers Exp $
2 2
3 __doc__ = """ 3 __doc__ = """
4 WWW request handler (also used in the stand-alone server). 4 WWW request handler (also used in the stand-alone server).
5 """ 5 """
6 6
842 if self.form.has_key('otk'): 842 if self.form.has_key('otk'):
843 # pull the rego information out of the otk database 843 # pull the rego information out of the otk database
844 otk = self.form['otk'].value 844 otk = self.form['otk'].value
845 uid = self.db.otks.get(otk, 'uid') 845 uid = self.db.otks.get(otk, 'uid')
846 if uid is None: 846 if uid is None:
847 self.error_message.append('Invalid One Time Key!') 847 self.error_message.append("""Invalid One Time Key!
848 (a Mozilla bug may cause this message to show up erroneously,
849 please check your email)""")
848 return 850 return
849 851
850 # re-open the database as "admin" 852 # re-open the database as "admin"
851 if self.user != 'admin': 853 if self.user != 'admin':
852 self.opendb('admin') 854 self.opendb('admin')

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