summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/any.pm2
-rw-r--r--perl-install/install/NEWS3
3 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index e461ad6af..817d5c862 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- adduserdrake
+ o added weakness check for root password
+
Version 12.45 - 18 August 2009
- drakbug
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 70a112ec3..2c5d46f94 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -826,7 +826,7 @@ sub ask_user_and_root {
}, [
$superuser ? (
{ label => N("Set administrator (root) password"), title => 1 },
- { label => N("Password"), val => \$superuser->{password}, hidden => 1, alignment => 'right',
+ { label => N("Password"), val => \$superuser->{password}, hidden => 1, alignment => 'right', weakness_check => 1,
validate => sub { authentication::check_given_password($in, $superuser, 2 * $security) } },
{ label => N("Password (again)"), val => \$superuser->{password2}, hidden => 1, alignment => 'right' },
) : (),
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 55b6ed42b..29918abe8 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- adduserdrake
+ o added weakness check for root password
+
Version 12.45 - 18 August 2009
- added the ability to add up/down buttons in add_modify_remove list