Skip to content

Commit 657494a

Browse files
committed
minor #17152 Adding comment about route name (ThomasLandauer)
This PR was merged into the 5.4 branch. Discussion ---------- Adding comment about route name Commits ------- dbf3a70 Adding comment about route name
2 parents fed888b + dbf3a70 commit 657494a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ To enable logging out, activate the ``logout`` config parameter under your fire
16771677
$mainFirewall = $security->firewall('main');
16781678
// ...
16791679
$mainFirewall->logout()
1680-
->path('app_logout')
1680+
->path('app_logout') // pass either the *name* or the *path* of the route
16811681
16821682
// where to redirect after logout
16831683
// ->target('app_any_route')

0 commit comments

Comments
 (0)