mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-07-27 09:25:25 +00:00
allow to safe attribute for root@pam
We will use the email address to forward notification (and root mails).
This commit is contained in:
parent
845cf3a363
commit
9238b8a49c
@ -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}) : '';
|
||||
|
Loading…
Reference in New Issue
Block a user