Commit e0bafc96 authored by Yadd's avatar Yadd
Browse files

Type (#1183)

parent f12709d5
...@@ -18,13 +18,13 @@ sub init { ...@@ -18,13 +18,13 @@ sub init {
sub confirm { sub confirm {
my ( $self, $req, $pwd ) = @_; my ( $self, $req, $pwd ) = @_;
$self->checkChoice($req) or return PE_ERROR; $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 { sub modifyPassword {
my ( $self, $req, $pwd ) = @_; my ( $self, $req, $pwd ) = @_;
$self->checkChoice($req) or return PE_ERROR; $self->checkChoice($req) or return PE_ERROR;
return $req->datas->{enabledMod2}->[0]->modifyPassword( $req, $pwd ); return $req->datas->{enabledMods2}->[0]->modifyPassword( $req, $pwd );
} }
1; 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