1 |
snetram |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword |
2 |
|
|
--- e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword 2008-08-05 19:00:19.000000000 +0200 |
3 |
|
|
+++ mezzanine_patched_e-smith-base-4.18.1/root/etc/e-smith/web/panels/password/cgi-bin/userpassword 2008-08-05 18:59:54.000000000 +0200 |
4 |
|
|
@@ -82,7 +82,7 @@ |
5 |
|
|
$pass)) |
6 |
|
|
{ |
7 |
|
|
$q->param(-name => 'status_message', |
8 |
|
|
- -value => 'PASSWORD_CHANGE_ERROR'); |
9 |
|
|
+ -value => 'ERROR_PASSWORD_CHANGE'); |
10 |
|
|
return; |
11 |
|
|
} |
12 |
|
|
$acct->set_prop("PasswordSet", "yes"); |
13 |
|
|
@@ -103,7 +103,7 @@ |
14 |
|
|
my $pass1 = $fm->{cgi}->param('pass'); |
15 |
|
|
unless ($pass1 eq $pass2) { |
16 |
|
|
$fm->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
17 |
|
|
- return "PASSWORD_VERIFY_ERROR"; |
18 |
|
|
+ return "PASSWORD_NO_MATCH"; |
19 |
|
|
} |
20 |
|
|
return "OK"; |
21 |
|
|
} |
22 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm |
23 |
|
|
--- e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm 2008-08-05 19:00:19.000000000 +0200 |
24 |
|
|
+++ mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/groups.pm 2008-08-05 18:59:54.000000000 +0200 |
25 |
|
|
@@ -166,7 +166,7 @@ |
26 |
|
|
|
27 |
|
|
if ( $numGroups == 0 ) { |
28 |
|
|
print $q->Tr($q->td( |
29 |
|
|
- '<p><b>' . $fm->localise("NO_GROUPS") . '</p></b>')); |
30 |
|
|
+ '<p><b>' . $fm->localise("ACCOUNT_GROUP_NONE") . '</p></b>')); |
31 |
|
|
|
32 |
|
|
} |
33 |
|
|
else { |
34 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm |
35 |
|
|
--- e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-08-05 19:00:19.000000000 +0200 |
36 |
|
|
+++ mezzanine_patched_e-smith-base-4.18.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/useraccounts.pm 2008-08-05 18:59:54.000000000 +0200 |
37 |
|
|
@@ -605,7 +605,7 @@ |
38 |
|
|
my $pass1 = $self->{cgi}->param('password1'); |
39 |
|
|
unless ($pass1 eq $pass2) { |
40 |
|
|
$self->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
41 |
|
|
- return "PASSWORD_VERIFY_ERROR"; |
42 |
|
|
+ return "PASSWORD_NO_MATCH"; |
43 |
|
|
} |
44 |
|
|
return "OK"; |
45 |
|
|
} |
46 |
|
|
@@ -1140,7 +1140,7 @@ |
47 |
|
|
my $pass1 = $self->{cgi}->param('pass'); |
48 |
|
|
unless ($pass1 eq $pass2) { |
49 |
|
|
$self->{cgi}->param( -name => 'wherenext', -value => 'Password' ); |
50 |
|
|
- return "SYSTEM_PASSWORD_VERIFY_ERROR"; |
51 |
|
|
+ return "SYSTEM_PASSWORD_NO_MATCH"; |
52 |
|
|
} |
53 |
|
|
return "OK"; |
54 |
|
|
} |