From af13f0ebf2758624036ceb7a031c76f40e440f11 Mon Sep 17 00:00:00 2001 From: Xavier Guimard Date: Fri, 22 Jul 2016 09:47:50 +0000 Subject: [PATCH] Fix #1064 --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm index 38b170bf0..c4723bc3c 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm @@ -255,7 +255,8 @@ sub getApacheSession { my $now = time; if ( - $id + $id + and defined $as->data->{_utime} and ( $now - $as->data->{_utime} > $self->conf->{timeout} or ( $self->conf->{timeoutActivity}