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 94d0e5d commit b799a23Copy full SHA for b799a23
1 file changed
src/Controller/UserController.php
@@ -18,6 +18,12 @@
18
use Symfony\Component\Security\Guard\GuardAuthenticatorHandler;
19
use Symfony\Component\Validator\Constraints\IsNull;
20
use Symfony\Contracts\Translation\TranslatorInterface;
21
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
22
+use Sensio\Bundle\FrameworkExtraBundle\Configuration\IsGranted;
23
+
24
+/**
25
+ * @IsGranted("ROLE_USER")
26
+ */
27
28
class UserController extends AbstractController
29
{
0 commit comments