Skip to content

Commit

Permalink
Merge pull request #66 from ismail1432/patch-2
Browse files Browse the repository at this point in the history
Update security.yml
  • Loading branch information
20uf authored May 28, 2018
2 parents 11a1fde + f26823e commit a6a4767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ questions:
- {value: 'IS_AUTHENTICATED_ANONYMOUSLY', correct: true}
- {value: 'IS_NOT_AUTHENTICATED', correct: false}
-
question: 'How can you deny acces to user in your controller ?'
question: 'How can you deny access to user in your controller ?'
answers:
- {value: "$this->denyAccessUnlessGranted('ROLE_ADMIN')", correct: true}
- {value: '@Security("has_role("ROLE_ADMIN")")', correct: true}
Expand Down

0 comments on commit a6a4767

Please sign in to comment.