summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
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' },
) : (),