Skip to content

Commit 88bdc5f

Browse files
matthiasschobnerxabbuh
authored andcommitted
Fix IS_AUTHENTICATED_FULLY annotation
has_role not work with IS_AUTHENTICATED_FULLY. Use is_granted.
1 parent d8906bf commit 88bdc5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/remember_me.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ your controller using annotations:
259259
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Security;
260260
261261
/**
262-
* @Security("has_role('IS_AUTHENTICATED_FULLY')")
262+
* @Security("is_granted('IS_AUTHENTICATED_FULLY')")
263263
*/
264264
public function editAction($name)
265265
{

0 commit comments

Comments
 (0)