Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3cecc10

Browse filesBrowse 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
Copy full SHA for 3cecc10

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎security/remember_me.rst

Copy file name to clipboardExpand all lines: security/remember_me.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.