Skip to content

Commit b799a23

Browse files
committed
Fix account url for all
1 parent 94d0e5d commit b799a23

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Controller/UserController.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
use Symfony\Component\Security\Guard\GuardAuthenticatorHandler;
1919
use Symfony\Component\Validator\Constraints\IsNull;
2020
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+
*/
2127

2228
class UserController extends AbstractController
2329
{

0 commit comments

Comments
 (0)