/[smeserver]/rpms/e-smith-formmagick/sme7/e-smith-formmagick-1.4.0-passlength.patch
ViewVC logotype

Contents of /rpms/e-smith-formmagick/sme7/e-smith-formmagick-1.4.0-passlength.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Jun 12 15:29:09 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: e-smith-formmagick-1_4_0-5_el4_sme
Import on branch sme7 of package e-smith-formmagick-1.4.0-5.el4.sme.src.rpm

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-formmagick-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm mezzanine_patched_e-smith-formmagick-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm
2 --- e-smith-formmagick-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm 2006-03-15 14:59:29.000000000 -0700
3 +++ mezzanine_patched_e-smith-formmagick-1.4.0/root/usr/lib/perl5/site_perl/esmith/FormMagick.pm 2007-06-01 13:59:21.000000000 -0600
4 @@ -794,6 +794,9 @@
5
6 my $reason;
7
8 - return "OK" if ($strength eq "none");
9 + if ($strength eq "none") {
10 + return $fm->localise("Passwords must be at least 7 characters long") unless (length($pass) > 6);
11 + return "OK";
12 + }
13
14 $reason = $fm->call_fm_validation('password', $pass, undef);

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed