Mercurial > p > roundup > code
diff roundup/cgi/actions.py @ 2291:90cca653ef3d
otks manager missing [SF#952931]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 13 May 2004 00:19:35 +0000 |
| parents | 9b34f41507ed |
| children | 10fc45eea226 |
line wrap: on
line diff
--- a/roundup/cgi/actions.py Wed May 12 22:35:12 2004 +0000 +++ b/roundup/cgi/actions.py Thu May 13 00:19:35 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.28 2004-05-13 00:19:35 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!
