Skip to content

Commit f9ac550

Browse files
author
Richard Jones
committed
otks manager missing [SF#952931]
1 parent aaa82fa commit f9ac550

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-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
- anydbm sorting with None values (sf bug 952853)
1313
- roundup-server -g option not recognised (sf bug 952310)
1414
- HTML templating isset() inverted (sf bug 951779)
15+
- otks manager missing (sf bug 952931)
1516

1617

1718
2004-05-10 0.7.1

roundup/cgi/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: actions.py,v 1.27 2004-05-06 03:18:03 richard Exp $
1+
#$Id: actions.py,v 1.28 2004-05-13 00:19:35 richard Exp $
22

33
import re, cgi, StringIO, urllib, Cookie, time, random
44

@@ -558,10 +558,10 @@ def handle(self):
558558
"otk" performs the reset.
559559
560560
"""
561+
otks = self.db.getOTKManager()
561562
if self.form.has_key('otk'):
562563
# pull the rego information out of the otk database
563564
otk = self.form['otk'].value
564-
otks = self.db.getOTKManager()
565565
uid = otks.get(otk, 'uid')
566566
if uid is None:
567567
self.client.error_message.append("""Invalid One Time Key!

0 commit comments

Comments
 (0)