Skip to content

Commit 96fe523

Browse files
committed
Fix password reset
Fix issue2550963: After refactoring one-time keys from the main database we need to commit the password change in the password reset mechanism separately. This used to be committed by the otk commit.
1 parent 7f4dac4 commit 96fe523

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,9 @@ Fixed:
516516
whenever an email exceeding this limit is encountered. We "fix" this
517517
by monkey-patching poplib with a larger line-limit. Thanks to Heiko
518518
Stegmann for discovering this.
519+
- Fix issue2550963: After refactoring one-time keys from the main
520+
database we need to commit the password change in the password reset
521+
mechanism separately. This used to be committed by the otk commit.
519522

520523

521524
2016-01-11: 1.5.1

roundup/cgi/actions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,8 @@ def handle(self):
912912
# clear the props from the otk database
913913
otks.destroy(otk)
914914
otks.commit()
915+
# commit the password change
916+
self.db.commit ()
915917
except (ValueError, KeyError) as message:
916918
self.client.add_error_message(str(message))
917919
return

0 commit comments

Comments
 (0)