Skip to content

Commit 872a08e

Browse files
author
Richard Jones
committed
merge from HEAD
1 parent e139e0f commit 872a08e

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Fixed:
77
- fixed history display when "ascending"
88
- removed references to py2.3+ boolean values (sf bug 995682)
99
- fix static file path normalisation in security check (thanks David Linke)
10+
- less specific messages for login failures (thanks Chris Withers)
1011

1112
2004-07-21 0.7.6
1213
Fixed:

doc/index.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ Mitchell Surface,
130130
Mike Thompson,
131131
Martin Uzak,
132132
Darryl VanDorp,
133-
J Vickroy.
134-
133+
J Vickroy,
134+
Chris Withers.
135135

136136

137137
License

doc/installation.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,16 @@ My group now looks like this::
472472

473473
support:*:1002:jblaine,samh,geezer,mail,apache
474474

475-
The tracker "db" directory should be chmod'ed g+sw so that the group can
476-
write to the database, and any new files created in the database will be owned
477-
by the group.
475+
After this change, you'll need to make sure you restart roundup-server,
476+
apache and any other long-running process associated with Roundup.
477+
The tracker "db" directory permissions and owner information should be
478+
fixed with::
479+
480+
chmod g+sw db
481+
chgrp support db
482+
483+
This allows the group to write to the database, and any new files
484+
created in the database will be owned by the group.
478485

479486
If you're using the mysql or postgresql backend then you'll need to ensure
480487
that the tracker user has appropriate permissions to create/modify the

roundup/cgi/actions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: actions.py,v 1.27.2.4 2004-07-20 02:10:43 richard Exp $
1+
#$Id: actions.py,v 1.27.2.5 2004-08-07 22:19:14 richard Exp $
22

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

@@ -801,14 +801,14 @@ def handle(self):
801801
self.client.userid = self.db.user.lookup(self.client.user)
802802
except KeyError:
803803
name = self.client.user
804-
self.client.error_message.append(_('No such user "%(name)s"')%locals())
804+
self.client.error_message.append(_('Ivalid login'))
805805
self.client.make_user_anonymous()
806806
return
807807

808808
# verify the password
809809
if not self.verifyPassword(self.client.userid, password):
810810
self.client.make_user_anonymous()
811-
self.client.error_message.append(_('Incorrect password'))
811+
self.client.error_message.append(_('Invalid login'))
812812
return
813813

814814
# Determine whether the user has permission to log in.

0 commit comments

Comments
 (0)