lemonldap-ng/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/CertificateResetByMail/Custom.pm
2021-12-19 18:19:22 +01:00

21 lines
525 B
Perl

package Lemonldap::NG::Portal::CertificateResetByMail::Custom;
use Lemonldap::NG::Portal::Lib::CustomModule;
use strict;
our @ISA = qw(Lemonldap::NG::Portal::Lib::CustomModule);
use constant {
custom_name => "CertificateResetByMail",
custom_config_key => "customResetCertByMail",
};
sub new {
my ( $class, $self ) = @_;
unless ( $self->{conf}->{customRegister} ) {
die 'Custom register module not defined';
}
return $class->Lemonldap::NG::Portal::Lib::CustomModule::new($self);
}
1;