Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Xavier Bachelot
lemonldap-ng
Commits
43245bbf
Commit
43245bbf
authored
Jan 04, 2020
by
Yadd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
a48daee3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Process.pm
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Process.pm
+11
-5
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Process.pm
View file @
43245bbf
...
...
@@ -318,7 +318,7 @@ sub authenticate {
$req
->
steps
(
[
'
setSessionInfo
',
'
setMacros
',
'
setPersistentSessionInfo
',
'
storeHistory
',
@
{
$self
->
afterData
},
sub
{
PE_BADCREDENTIALS
}
@
{
$self
->
afterData
},
sub
{
PE_BADCREDENTIALS
}
]
);
...
...
@@ -484,7 +484,8 @@ sub store {
# Update current request
$req
->
id
(
$session
->
id
);
unless
(
$self
->
_sfEngine
->
searchForAuthorized2Fmodules
(
$req
)
)
{
$self
->
logger
->
debug
("
No 2F module authorized -> Update current request
");
$self
->
logger
->
debug
(
"
No 2F module authorized -> Update current request
");
$req
->
{
sessionInfo
}
->
{
_session_id
}
=
$session
->
{
id
};
$req
->
{
sessionInfo
}
->
{
_session_kind
}
=
$session
->
{
kind
};
}
...
...
@@ -522,9 +523,14 @@ sub buildCookie {
);
}
}
my
$user_log
=
$req
->
{
userData
}
->
{
$self
->
conf
->
{
whatToTrace
}
};
$self
->
userLogger
->
notice
(
"
User
$user_log
successfully authenticated at level
$req
->{userData}->{authenticationLevel}
"
my
$ref
=
(
%
{
$req
->
{
sessionInfo
}
}
?
$req
->
{
sessionInfo
}
:
$req
->
{
userData
}
);
$self
->
userLogger
->
notice
(
'
User
'
.
$ref
->
{
$self
->
conf
->
{
whatToTrace
}
}
.
"
successfully authenticated at level
$ref
->{authenticationLevel}
"
);
PE_OK
;
}
...
...
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