2020-01-10 17:48:23 +01:00
|
|
|
package Lemonldap::NG::Portal::CertificateResetByMail::Custom;
|
2021-12-17 18:07:13 +01:00
|
|
|
use Lemonldap::NG::Portal::Lib::CustomModule;
|
2020-01-10 17:48:23 +01:00
|
|
|
|
|
|
|
use strict;
|
|
|
|
|
2021-12-17 18:07:13 +01:00
|
|
|
our @ISA = qw(Lemonldap::NG::Portal::Lib::CustomModule);
|
|
|
|
use constant {
|
|
|
|
custom_name => "CertificateResetByMail",
|
|
|
|
custom_config_key => "customResetCertByMail",
|
|
|
|
};
|
2020-01-10 17:48:23 +01:00
|
|
|
|
|
|
|
sub new {
|
|
|
|
my ( $class, $self ) = @_;
|
|
|
|
unless ( $self->{conf}->{customRegister} ) {
|
|
|
|
die 'Custom register module not defined';
|
|
|
|
}
|
2021-12-17 18:07:13 +01:00
|
|
|
return $class->Lemonldap::NG::Portal::Lib::CustomModule::new($self);
|
2020-01-10 17:48:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|