File tree 5 files changed +12
-3
lines changed
5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ following rules iteratively until no further processing can be done:
336
336
337
337
- "." segments are removed;
338
338
- ".." segments are resolved;
339
- - backslashes ("\" ) are converted into forward slashes ("/");
339
+ - backslashes ("\\ ") are converted into forward slashes ("/");
340
340
- root paths ("/" and "C:/") always terminate with a slash;
341
341
- non-root paths never terminate with a slash;
342
342
- schemes (such as "phar://") are kept;
Original file line number Diff line number Diff line change @@ -286,6 +286,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
286
286
use Symfony\Component\HttpFoundation\Response;
287
287
use Symfony\Component\Mailer\MailerInterface;
288
288
use Symfony\Component\Mime\Email;
289
+ use Symfony\Component\Routing\Annotation\Route;
289
290
290
291
class MailerController extends AbstractController
291
292
{
Original file line number Diff line number Diff line change @@ -248,6 +248,14 @@ URL and process the submitted login credentials.
248
248
Be sure that this URL is covered by your main firewall (i.e. don't create
249
249
a separate firewall just for ``check_path `` URL).
250
250
251
+ failure_path
252
+ ............
253
+
254
+ **type **: ``string `` **default **: ``/login ``
255
+
256
+ This is the route or path that the user is redirected to after a failed login attempt.
257
+ It can be a relative/absolute URL or a Symfony route name.
258
+
251
259
use_forward
252
260
...........
253
261
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ EnumType Field
5
5
==============
6
6
7
7
A multi-purpose field used to allow the user to "choose" one or more options
8
- defined in a `PHP enumeration `_. It extends the :doc: `ChoiceType </reference/forms/types/enum >`
8
+ defined in a `PHP enumeration `_. It extends the :doc: `ChoiceType </reference/forms/types/choice >`
9
9
field and defines the same options.
10
10
11
11
+---------------------------+----------------------------------------------------------------------+
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ which makes creating a voter even easier::
55
55
56
56
.. tip ::
57
57
58
- Checking each voter several times can be time consumming for applications
58
+ Checking each voter several times can be time consuming for applications
59
59
that perform a lot of permission checks. To improve performance in those cases,
60
60
you can make your voters implement the :class: `Symfony\\ Component\\ Security\\ Core\\ Authorization\\ Voter\\ CacheableVoterInterface `.
61
61
This allows the access decision manager to remember the attribute and type
You can’t perform that action at this time.
0 commit comments