Skip to content

Commit 3cecc10

Browse files
committed
minor #7054 Fix IS_AUTHENTICATED_FULLY annotation (mschobner)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #7054). Discussion ---------- Fix IS_AUTHENTICATED_FULLY annotation has_role not work with IS_AUTHENTICATED_FULLY. Use is_granted. Commits ------- 88bdc5f Fix IS_AUTHENTICATED_FULLY annotation
2 parents d8906bf + 88bdc5f commit 3cecc10

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)