Skip to content

Commit

Permalink
Update security.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail1432 authored May 10, 2018
1 parent 164e8c5 commit f26823e
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 f26823e

Please sign in to comment.