Skip to content

Commit dbf3a70

Browse files
Adding comment about route name
1 parent 82938b3 commit dbf3a70

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)