Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
lemonldap-ng
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maxime Besson
lemonldap-ng
Commits
6799ca92
Commit
6799ca92
authored
Aug 08, 2018
by
Christophe Maudoux
🐛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP - Fix debug message (
#1480
)
parent
45216d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm
...ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm
+5
-5
No files found.
lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm
View file @
6799ca92
...
...
@@ -398,7 +398,7 @@ sub run {
# Read existing RP
@RPoidcConsent
=
grep
{
$_
->
{
rp
}
eq
$rp
}
@$_oidcConsents
;
unless
(
@RPoidcConsent
)
{
unless
(
@RPoidcConsent
)
{
$self
->
logger
->
debug
("
No Relying Party
$rp
Consent found
");
# Set default value
...
...
@@ -406,12 +406,13 @@ sub run {
{
rp
=>
$rp
,
epoch
=>
'',
scope
=>
''
};
}
if
(
$RPoidcConsent
[
0
]{
rp
}
eq
$rp
)
{
if
(
$RPoidcConsent
[
0
]{
rp
}
eq
$rp
&&
defined
$RPoidcConsent
[
0
]{
epoch
}
&&
defined
$RPoidcConsent
[
0
]{
scope
}
)
{
$ask_for_consent
=
0
;
my
$consent_time
=
$RPoidcConsent
[
0
]{
epoch
};
my
$consent_scope
=
$RPoidcConsent
[
0
]{
scope
};
$self
->
logger
->
debug
(
"
Consent already given for Relying Party
$rp
(time:
$consent_time
, scope:
$consent_scope
)
"
);
...
...
@@ -1304,7 +1305,6 @@ sub checkSession {
'
../common/oidc_checksession
',
params
=>
{
COOKIENAME
=>
$self
->
conf
->
{
cookieName
},
URL
=>
'
toto
',
}
);
}
...
...
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