Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-authswitcher
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp-module-authswitcher
Commits
6dcbb86d
Commit
6dcbb86d
authored
2 years ago
by
Pavel Břoušek
Browse files
Options
Downloads
Patches
Plain Diff
fix: correct rollout_state handling
ignore only some rollout states
parent
2b13a03b
No related branches found
No related tags found
No related merge requests found
Pipeline
#203285
passed with warnings
2 years ago
Stage: .pre
Stage: test
Stage: release
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/Auth/Process/GetMfaTokensPrivacyIDEA.php
+4
-1
4 additions, 1 deletion
lib/Auth/Process/GetMfaTokensPrivacyIDEA.php
with
4 additions
and
1 deletion
lib/Auth/Process/GetMfaTokensPrivacyIDEA.php
+
4
−
1
View file @
6dcbb86d
...
@@ -167,7 +167,10 @@ class GetMfaTokensPrivacyIDEA extends \SimpleSAML\Auth\ProcessingFilter
...
@@ -167,7 +167,10 @@ class GetMfaTokensPrivacyIDEA extends \SimpleSAML\Auth\ProcessingFilter
$types
=
[];
$types
=
[];
foreach
(
$tokens
as
$token
)
{
foreach
(
$tokens
as
$token
)
{
foreach
(
$this
->
tokens_type
as
$type
)
{
foreach
(
$this
->
tokens_type
as
$type
)
{
if
(
$token
[
'tokentype'
]
===
strtolower
(
$type
)
&&
empty
(
$token
[
'rollout_state'
]))
{
if
(
$token
[
'tokentype'
]
===
strtolower
(
$type
)
&&
!
in_array
(
$token
[
'rollout_state'
]
??
''
,
[
'clientwait'
,
'verify'
])
)
{
$token
[
$this
->
token_type_attr
]
=
$type
;
$token
[
$this
->
token_type_attr
]
=
$type
;
$types
[]
=
$token
;
$types
[]
=
$token
;
break
;
break
;
...
...
This diff is collapsed.
Click to expand it.
Jednotné přihlášení test
@9008807
mentioned in commit
0396e916
·
2 years ago
mentioned in commit
0396e916
mentioned in commit 0396e916af1db744eb1acf66288eb647a9bf4359
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment