use the more relaxed standard option 'pmg-email-address' defined in
PMG/Utils.pm instead of the 'email' format defined in pve-common
Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
return $res;
};
-my $pmail_param_type = {
+my $pmail_param_type = get_standard_option('pmg-email-address', {
description => "List entries for the user with this primary email address. Quarantine users cannot speficy this parameter, but it is required for all other roles.",
- type => 'string', format => 'email',
optional => 1,
-};
+});
__PACKAGE__->register_method ({
name => 'index',