Update doc & typos (#2591)

This commit is contained in:
Christophe Maudoux 2021-10-30 10:56:04 +02:00
parent 6ebd205ba4
commit 0181f9374f
2 changed files with 4 additions and 4 deletions

View File

@ -12,5 +12,6 @@ Just enable it in the manager (section “plugins”).
- **Parameters**:
- **Activation**: Enable / Disable this plugin
- **Do not check fingerprint**: Enable / Disable browser fingerprint checking
- **Expiration time**: Persistent session connection and cookie timeout
- **Cookie name**: Persistent connection cookie name

View File

@ -61,7 +61,6 @@ sub init {
# Then ask for browser fingerprint
sub newDevice {
my ( $self, $req ) = @_;
my $checkLogins = $req->param('checkLogins');
$self->logger->debug("StayConnected: checkLogins set") if $checkLogins;
@ -116,7 +115,7 @@ sub storeBrowser {
},
);
# Cookie available 30 days
# Cookie available 30 days by default
$req->addCookie(
$self->p->cookie(
name => $self->cookieName,
@ -129,12 +128,12 @@ sub storeBrowser {
if exists $tmp->{history};
}
else {
$self->logger->warn("Browser hasn't return fingerprint");
$self->logger->warn("Browser did not return fingerprint");
}
}
else {
$self->userLogger->error(
"StayConnected: mismatch UID: $tmp->{name} / $uid");
"StayConnected: mismatch UID ($tmp->{name} / $uid)");
}
}
else {