Skip to content

Commit 232cfed

Browse files
Update security/access_token.rst
Co-authored-by: Vincent <vincentchalamon@protonmail.com>
1 parent 4827a75 commit 232cfed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/access_token.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This handler must implement
100100
}
101101

102102
// and return a UserBadge object containing the user identifier from the found token
103-
return $accessToken->getUserId();
103+
return new UserBadge($accessToken->getUserId());
104104
}
105105
}
106106

0 commit comments

Comments
 (0)