We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e8a62c7 + 964f4dc commit 73db0a3Copy full SHA for 73db0a3
mercure.rst
@@ -413,7 +413,6 @@ And here is the controller::
413
$hubUrl = $this->getParameter('mercure.default_hub');
414
$this->addLink($request, new Link('mercure', $hubUrl));
415
416
- $username = $this->getUser()->getUsername(); // Retrieve the username of the current user
417
$token = (new Builder())
418
// set other appropriate JWT claims, such as an expiration date
419
->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
0 commit comments