allow to safe attribute for root@pam

We will use the email address to forward notification (and root mails).
This commit is contained in:
Dietmar Maurer 2012-01-18 09:10:49 +01:00
parent 845cf3a363
commit 9238b8a49c

View File

@ -1040,8 +1040,6 @@ sub write_user_config {
my $data = '';
foreach my $user (keys %{$cfg->{users}}) {
next if $user eq 'root@pam';
my $d = $cfg->{users}->{$user};
my $firstname = $d->{firstname} ? PVE::Tools::encode_text($d->{firstname}) : '';
my $lastname = $d->{lastname} ? PVE::Tools::encode_text($d->{lastname}) : '';