Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 2294:f72d2fb8ef78 maint-0.7
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 13 May 2004 00:26:07 +0000 |
| parents | 9b34f41507ed |
| children | c69b67905043 |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Thu May 13 00:21:31 2004 +0000 +++ b/roundup/cgi/actions.py Thu May 13 00:26:07 2004 +0000 @@ -1,4 +1,4 @@ -#$Id: actions.py,v 1.27 2004-05-06 03:18:03 richard Exp $ +#$Id: actions.py,v 1.27.2.1 2004-05-13 00:21:32 richard Exp $ import re, cgi, StringIO, urllib, Cookie, time, random @@ -558,10 +558,10 @@ "otk" performs the reset. """ + otks = self.db.getOTKManager() if self.form.has_key('otk'): # pull the rego information out of the otk database otk = self.form['otk'].value - otks = self.db.getOTKManager() uid = otks.get(otk, 'uid') if uid is None: self.client.error_message.append("""Invalid One Time Key!
