Skip to content

Commit 73db0a3

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: minor fix
2 parents e8a62c7 + 964f4dc commit 73db0a3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mercure.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,6 @@ And here is the controller::
413413
$hubUrl = $this->getParameter('mercure.default_hub');
414414
$this->addLink($request, new Link('mercure', $hubUrl));
415415

416-
$username = $this->getUser()->getUsername(); // Retrieve the username of the current user
417416
$token = (new Builder())
418417
// set other appropriate JWT claims, such as an expiration date
419418
->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *

0 commit comments

Comments
 (0)