Skip to content

Commit c93ce46

Browse files
eclaeweaverryan
authored andcommitted
Update target_path.rst
need this change for the 2.2.1 branch working
1 parent 1501120 commit c93ce46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/security/target_path.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Next, create your own ``ExceptionListener``::
6262
return;
6363
}
6464

65-
$request->getSession()->set('_security.main.target_path', $request->getUri());
65+
parent::setTargetPath($request);
6666
}
6767
}
6868

69-
Add as much or few logic here as required for your scenario!
69+
Add as much or few logic here as required for your scenario!

0 commit comments

Comments
 (0)