Commit 506aba05 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛

Fix typo

parent 79638ec8
......@@ -209,7 +209,7 @@ sub _choice {
);
}
}
$self->userLogger->error('Bd 2F choice');
$self->userLogger->error('Bad 2F choice');
return $self->p->lmError( $req, 500 );
}
......
......@@ -79,7 +79,7 @@ L<Lemonldap::NG::Portal> modules I<(plugins, authentication modules,...)>.
sub init {
my ($self) = @_;
$self->addUnauthRoute( mypath => 'hello', [ 'GET', 'PUT' ] );
$self->addAuthRoute( mypath => 'wellcome', [ 'GET', 'PUT' ] );
$self->addAuthRoute( mypath => 'welcome', [ 'GET', 'PUT' ] );
return 1;
}
sub verifyIP {
......@@ -92,10 +92,10 @@ L<Lemonldap::NG::Portal> modules I<(plugins, authentication modules,...)>.
...
return $self->p->sendJSONresponse($req, { hello => 1 });
}
sub wellcome {
sub welcome {
my ($self, $req) = @_;
...
return $self->p->sendHtml($req, 'template', params => { WELLCOME => 1 });
return $self->p->sendHtml($req, 'template', params => { WELCOME => 1 });
}
=head1 DESCRIPTION
......
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