Commit e0bafc96 authored by Xavier Guimard's avatar Xavier Guimard

Type (#1183)

parent f12709d5
......@@ -18,13 +18,13 @@ sub init {
sub confirm {
my ( $self, $req, $pwd ) = @_;
$self->checkChoice($req) or return PE_ERROR;
return $req->datas->{enabledMod2}->[0]->confirm( $req, $pwd );
return $req->datas->{enabledMods2}->[0]->confirm( $req, $pwd );
}
sub modifyPassword {
my ( $self, $req, $pwd ) = @_;
$self->checkChoice($req) or return PE_ERROR;
return $req->datas->{enabledMod2}->[0]->modifyPassword( $req, $pwd );
return $req->datas->{enabledMods2}->[0]->modifyPassword( $req, $pwd );
}
1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment