Skip to content
This repository was archived by the owner on Nov 14, 2025. It is now read-only.

Commit c847198

Browse files
author
Artem Brezhnev
authored
Merge pull request #33 from dmyers/patch-1
Fixed variables in readme example code
2 parents f49be1a + 973479a commit c847198

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ Event::listen(\Slides\Saml2\Events\SignedIn::class, function (\Slides\Saml2\Even
113113
$samlUser = $event->getSaml2User();
114114

115115
$userData = [
116-
'id' => $user->getUserId(),
117-
'attributes' => $user->getAttributes(),
118-
'assertion' => $user->getRawSamlAssertion()
116+
'id' => $samlUser->getUserId(),
117+
'attributes' => $samlUser->getAttributes(),
118+
'assertion' => $samlUser->getRawSamlAssertion()
119119
];
120120

121121
$user = // find user by ID or attribute

0 commit comments

Comments
 (0)