Skip to content

Commit 1b116cc

Browse files
committed
Add comment. lookup on a username doesn't return retired users.
1 parent 87a1af5 commit 1b116cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roundup/cgi/actions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,7 @@ def handle(self):
13731373
def verifyLogin(self, username, password):
13741374
# make sure the user exists
13751375
try:
1376+
# Note: lookup only searches non-retired items.
13761377
self.client.userid = self.db.user.lookup(username)
13771378
except KeyError:
13781379
# Perform password check against anonymous user.

0 commit comments

Comments
 (0)