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.
1 parent d2ba040 commit f9d557bCopy full SHA for f9d557b
Tests/Functional/Bundle/TestBundle/Controller/SecurityController.php
@@ -21,6 +21,6 @@ class SecurityController implements ContainerAwareInterface
21
22
public function profileAction()
23
{
24
- return new Response('Welcome '.$this->container->get('security.token_storage')->getToken()->getUsername().'!');
+ return new Response('Welcome '.$this->container->get('security.token_storage')->getToken()->getUserIdentifier().'!');
25
}
26
0 commit comments