Commit 36e8868e authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Add parameter cookieExpiration (close feature request #314368)

parent f8fb1635
......@@ -892,6 +892,7 @@ sub buildCookie {
-path => "/",
-secure => $self->{securedCookie},
-httponly => $self->{httpOnly},
-expires => $self->{cookieExpiration},
@_,
);
if ( $self->{securedCookie} == 2 ) {
......@@ -903,6 +904,7 @@ sub buildCookie {
-path => "/",
-secure => 0,
-httponly => $self->{httpOnly},
-expires => $self->{cookieExpiration},
@_,
);
}
......
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