Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
36e8868e
Commit
36e8868e
authored
Dec 03, 2009
by
Clément OUDOT
Browse files
Add parameter cookieExpiration (close feature request #314368)
parent
f8fb1635
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Simple.pm
View file @
36e8868e
...
...
@@ -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
},
@
_
,
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment