diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-03-07 15:56:40 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-03-07 15:56:40 +0000 |
commit | d33c8a72719af292726930c96e0abab68b494bb9 (patch) | |
tree | caef03d8cd971d82f9efdbfdf299544c48bf7a49 /perl-install | |
parent | 29a7234c5bdf582d65e13a4de654eb82c0e0a2ff (diff) | |
download | drakx-d33c8a72719af292726930c96e0abab68b494bb9.tar drakx-d33c8a72719af292726930c96e0abab68b494bb9.tar.gz drakx-d33c8a72719af292726930c96e0abab68b494bb9.tar.bz2 drakx-d33c8a72719af292726930c96e0abab68b494bb9.tar.xz drakx-d33c8a72719af292726930c96e0abab68b494bb9.zip |
don't have the adsl & modem passwords in report.bug
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_any.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 7133583d3..977a9ad66 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -666,6 +666,13 @@ sub g_auto_install { qw(oldu oldg password password2), ); $_ = { %{$_ || {}} }, delete @$_{@user_info_to_remove} foreach $o->{superuser}, @{$o->{users} || []}; + + if ($respect_privacy && $o->{netcnx}) { + if (my $type = $o->{netcnx}{type}) { + my @netcnx_type_to_remove = qw(passwd passwd2 login phone_in phone_out); + $_ = { %{$_ || {}} }, delete @$_{@netcnx_type_to_remove} foreach $o->{netcnx}{$type}; + } + } require Data::Dumper; my $str = join('', |