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
Julien Ledoux
lemonldap-ng
Commits
e21fb627
Commit
e21fb627
authored
May 10, 2019
by
Yadd
Browse files
Better fix for #1743
parent
11c6c2b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
lemonldap-ng-common/lib/Lemonldap/NG/Common/Session.pm
View file @
e21fb627
...
...
@@ -109,10 +109,10 @@ sub BUILD {
# Load session data into object
if
(
$data
)
{
$self
->
_save_data
(
$data
);
if
(
$self
->
kind
)
{
return
undef
unless
(
$data
->
{
_session_kind
}
eq
$self
->
kind
);
}
$self
->
_save_data
(
$data
);
$self
->
kind
(
$data
->
{
_session_kind
}
);
$self
->
id
(
$data
->
{
_session_id
}
);
...
...
Write
Preview
Supports
Markdown
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