Skip to content

Commit 83c9b28

Browse files
committed
minor #20183 Use the same template across all examples (edpoulain)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Use the same template across all examples The documentation is using `security/request_login_link.html.twig` in 2 of the 3 code snippets. This makes sure the docs are using the same link everywhere. Commits ------- e8d3ad5 Use the same template across all examples
2 parents e7e60e1 + e8d3ad5 commit 83c9b28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

security/login_link.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ number::
277277
return $this->render('security/login_link_sent.html.twig');
278278
}
279279

280-
return $this->render('security/login.html.twig');
280+
return $this->render('security/request_login_link.html.twig');
281281
}
282282

283283
// ...
@@ -664,7 +664,7 @@ user create this POST request (e.g. by clicking a button)::
664664
<h2>Hi! You are about to login to ...</h2>
665665

666666
<!-- for instance, use a form with hidden fields to
667-
create the POST request --->
667+
create the POST request -->
668668
<form action="{{ path('login_check') }}" method="POST">
669669
<input type="hidden" name="expires" value="{{ expires }}">
670670
<input type="hidden" name="user" value="{{ user }}">

0 commit comments

Comments
 (0)