Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
903a852c
Commit
903a852c
authored
Jul 13, 2018
by
Bertrand Gauthier
Browse files
Affichage de l'utilisateur authentifié: les données d'auth shib n'étaient pas prises en compte.
parent
b6c99b8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/View/Helper/UserAbstract.php
View file @
903a852c
...
...
@@ -61,7 +61,7 @@ abstract class UserAbstract extends AbstractTranslatorHelper
}
if
(
is_array
(
$identity
))
{
$keys
=
[
'ldap'
,
'db'
];
$keys
=
[
'ldap'
,
'db'
,
'shib'
];
if
(
$preferedKey
)
{
// on met la clé spécifiée en tête de liste
$keys
=
array_merge
((
$tmp
=
[
$preferedKey
]),
array_diff
(
$keys
,
$tmp
));
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment