Skip to content

Commit f400e3d

Browse files
author
Richard Jones
committed
set the current username correctly after rego [SF#1048398]
1 parent b08e58b commit f400e3d

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
Withers)
1313
- enforce View Permission when serving file content (sf bug 1050470)
1414
- don't index common words (sf bug 1046612)
15+
- set the current username correctly after rego (sf bug 1048398)
1516

1617

1718
2004-10-15 0.7.8

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.2.5 2004-08-07 22:19:14 richard Exp $
1+
#$Id: actions.py,v 1.27.2.6 2004-11-05 05:14:35 richard Exp $
22

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

@@ -667,7 +667,7 @@ def handle(self):
667667
return
668668

669669
# log the new user in
670-
self.client.user = self.db.user.get(self.userid, 'username')
670+
self.user = self.client.user = self.db.user.get(self.userid, 'username')
671671
# re-open the database for real, using the user
672672
self.client.opendb(self.client.user)
673673

0 commit comments

Comments
 (0)