Commit e2255161 authored by Christophe Maudoux's avatar Christophe Maudoux 🐛
Browse files

Typo

parent da3903ec
......@@ -117,7 +117,7 @@ sub display {
return $self->sendJSONresponse( $req, $params ) if ( $req->wantJSON );
# Display form
return $self->p->sendHtml( $req, 'checkuser', params => $params, );
return $self->p->sendHtml( $req, 'checkuser', params => $params );
}
sub check {
......
......@@ -10,16 +10,14 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_SENDRESPONSE
);
our $VERSION = '2.0.0';
our $VERSION = '2.0.7';
extends 'Lemonldap::NG::Portal::Main::Plugin';
# INTERFACE
use constant endAuth => 'newDevice';
use constant beforeAuth => 'check';
use constant beforeLogout => 'logout';
# INITIALIZATION
......@@ -47,7 +45,7 @@ has timeout => (
sub init {
my ($self) = @_;
$self->addAuthRoute( registerbrowser => 'storeBrowser', ['POST'] );
return 1;
}
# RUNNING METHODS
......@@ -121,11 +119,11 @@ sub storeBrowser {
}
}
else {
$self->userLogger->error("StayConnected call with expired token");
$self->userLogger->error("StayConnected called with an expired token");
}
}
else {
$self->userLogger->error('StayConnected call without token');
$self->userLogger->error('StayConnected called without token');
}
# Deliver cookie llngbrowser
......@@ -206,7 +204,7 @@ sub logout {
expires => 'Wed, 21 Oct 2015 00:00:00 GMT'
)
);
PE_OK;
return PE_OK;
}
1;
......@@ -104,12 +104,6 @@
</div>
<div class="buttons">
<!--
<button type="submit" class="btn btn-success">
<span class="fa fa-sign-in"></span>
<span trspan="search">Search</span>
</button>
-->
<a href="<TMPL_VAR NAME="PORTAL_URL">" class="btn btn-primary" role="button">
<span class="fa fa-home"></span>
<span trspan="goToPortal">Go to portal</span>
......
Supports Markdown
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