aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-01 04:41:42 +0000
committertravis%sedsystems.ca <>2005-03-01 04:41:42 +0000
commit2a5d8de847971f7b5476ad6026fcbfcb68813354 (patch)
treea381938485b1265f9bcbd50831a805155a51e504 /globals.pl
parentBug 283973 : Charts broken: DBD::mysql::st execute failed: Unknown column '$d... (diff)
downloadbugzilla-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.gz
bugzilla-2a5d8de847971f7b5476ad6026fcbfcb68813354.tar.bz2
bugzilla-2a5d8de847971f7b5476ad6026fcbfcb68813354.zip
Bug 119485 : Templatise editusers.cgi
Patch by Marc Schumann <wurblzap@gmail.com> r=GavinS, mkanat a=justdave
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/globals.pl b/globals.pl
index 721f3bc43..e71493f6b 100644
--- a/globals.pl
+++ b/globals.pl
@@ -613,11 +613,11 @@ sub ValidatePassword {
my ($password, $matchpassword) = @_;
if (length($password) < 3) {
- ThrowUserError("password_too_short");
+ ThrowUserError("password_too_short", undef, 'abort');
} elsif (length($password) > 16) {
- ThrowUserError("password_too_long");
+ ThrowUserError("password_too_long", undef, 'abort');
} elsif ((defined $matchpassword) && ($password ne $matchpassword)) {
- ThrowUserError("passwords_dont_match");
+ ThrowUserError("passwords_dont_match", undef, 'abort');
}
}