« blib/lib/Lemonldap/NG/Portal/Password/Choice.pm
↑ Summary
blib/lib/Lemonldap/NG/Portal/Plugins/ExternalMenu.pm »
| 1 | package Lemonldap::NG::Portal::CertificateResetByMail::Custom; | ||
| 2 | use Lemonldap::NG::Portal::Lib::CustomModule; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | |||
| 6 | our @ISA = qw(Lemonldap::NG::Portal::Lib::CustomModule); | ||
| 7 | use constant { | ||
| 8 | custom_name => "CertificateResetByMail", | ||
| 9 | custom_config_key => "customResetCertByMail", | ||
| 10 | }; | ||
| 11 | |||
| 12 | sub new { | ||
| 13 | my ( $class, $self ) = @_; | ||
| 14 | unless ( $self->{conf}->{customRegister} ) { | ||
| 15 | die 'Custom register module not defined'; | ||
| 16 | } | ||
| 17 | return $class->Lemonldap::NG::Portal::Lib::CustomModule::new($self); | ||
| 18 | } | ||
| 19 | |||
| 20 | 1; |