Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
16816130
Commit
16816130
authored
Jul 13, 2021
by
Bertrand Gauthier
Browse files
[FIX] Bug dans l'adapter Shib
parent
919b2747
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/UnicaenAuth/Authentication/Adapter/Shib.php
View file @
16816130
...
...
@@ -86,16 +86,6 @@ class Shib extends AbstractAdapter
return
false
;
}
/* DS : modification liée à une boucle infinie lors de l'authentification CAS */
if
(
$this
->
isSatisfied
())
{
$storage
=
$this
->
getStorage
()
->
read
();
$event
->
setIdentity
(
$storage
[
'identity'
])
->
setCode
(
AuthenticationResult
::
SUCCESS
)
->
setMessages
([
'Authentication successful.'
]);
return
true
;
}
$shibUser
=
$this
->
shibService
->
getAuthenticatedUser
();
if
(
$shibUser
===
null
)
{
...
...
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